diff --git a/assets/core/ships/ship_script.gd b/assets/core/ships/ship_script.gd index f7ab659..525c358 100644 --- a/assets/core/ships/ship_script.gd +++ b/assets/core/ships/ship_script.gd @@ -74,7 +74,6 @@ func _physics_process(_delta): # Networking NetworkManager.sync_property(uuid, "global_position", global_position) NetworkManager.sync_property(uuid, "global_rotation", global_rotation) - NetworkManager.sync_property(uuid, "piloting_player", piloting_player) func _on_area_3d_body_entered(body: Node3D) -> void: @@ -110,3 +109,4 @@ func _on_property_update(uuid: String, property_name: String, value: Variant): func _sync_piloting_state(): NetworkManager.sync_property(uuid, "ship_is_piloted", ship_is_piloted) + NetworkManager.sync_property(uuid, "piloting_player", piloting_player)