sync water bomb positions spawned by pipes

This commit is contained in:
veclavtalica 2025-02-12 07:37:17 +03:00
parent 03421264fd
commit 1b60c7a3a7

View File

@ -14,7 +14,7 @@ func _drop_water() -> void:
_projectile_holder.add_child(new_projectile, true) _projectile_holder.add_child(new_projectile, true)
new_projectile.set_multiplayer_authority(1) new_projectile.set_multiplayer_authority(1)
new_projectile.body.process_mode = Node.PROCESS_MODE_INHERIT new_projectile.body.process_mode = Node.PROCESS_MODE_INHERIT
new_projectile.set_global_pos(global_position) new_projectile.set_global_pos.rpc(global_position)
func _on_drop_timer_timeout() -> void: func _on_drop_timer_timeout() -> void: