From 1d347e770fddcdd051890cdf070fd2779ab113bf Mon Sep 17 00:00:00 2001 From: Anson Bridges Date: Mon, 19 Sep 2022 17:44:22 -0400 Subject: problems: player controller perf, boat perf, NAVSERVER PERF --- godot/scenes/ballistics/Rocket.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'godot/scenes/ballistics') diff --git a/godot/scenes/ballistics/Rocket.gd b/godot/scenes/ballistics/Rocket.gd index de92d24..329825d 100644 --- a/godot/scenes/ballistics/Rocket.gd +++ b/godot/scenes/ballistics/Rocket.gd @@ -44,7 +44,7 @@ remotesync func explode(): $AnimationPlayer.play("explode") func _on_collision(_body): - rpc("explode") + if is_network_master(): rpc("explode") func _on_area_entry(area): pass -- cgit v1.2.3