Correct packet abuse
This commit is contained in:
parent
55d28cd242
commit
5b58093138
@ -74,7 +74,6 @@ func _physics_process(_delta):
|
|||||||
# Networking
|
# Networking
|
||||||
NetworkManager.sync_property(uuid, "global_position", global_position)
|
NetworkManager.sync_property(uuid, "global_position", global_position)
|
||||||
NetworkManager.sync_property(uuid, "global_rotation", global_rotation)
|
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:
|
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():
|
func _sync_piloting_state():
|
||||||
NetworkManager.sync_property(uuid, "ship_is_piloted", ship_is_piloted)
|
NetworkManager.sync_property(uuid, "ship_is_piloted", ship_is_piloted)
|
||||||
|
NetworkManager.sync_property(uuid, "piloting_player", piloting_player)
|
||||||
|
Loading…
Reference in New Issue
Block a user