diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2022-09-19 17:44:22 -0400 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2022-09-19 17:44:22 -0400 |
| commit | 1d347e770fddcdd051890cdf070fd2779ab113bf (patch) | |
| tree | 6501fb000509819b7ba58df15c9a831c8bdc44fb /godot/scenes/ballistics/Rocket.gd | |
| parent | 2fd755132f526c48fed2c1867530526971e1cf19 (diff) | |
problems: player controller perf, boat perf, NAVSERVER PERF
Diffstat (limited to 'godot/scenes/ballistics/Rocket.gd')
| -rw-r--r-- | godot/scenes/ballistics/Rocket.gd | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
