revert
This commit is contained in:
parent
f30b5b79d3
commit
12231567b8
@ -113,13 +113,6 @@ func _add_ship_helm(_ship_helm_scene: PackedScene):
|
||||
func _on_property_update(uuid: String, property_name: String, value: Variant):
|
||||
if NetworkManager.node_map.has(uuid):
|
||||
var node = NetworkManager.node_map[uuid]
|
||||
if piloting_player != null and !piloting_player.is_network_authority:
|
||||
if property_name == "global_position":
|
||||
node.global_position = value
|
||||
return
|
||||
if property_name == "global_rotation":
|
||||
node.global_position = value
|
||||
return
|
||||
node.set(property_name, value)
|
||||
else:
|
||||
printerr("Received property update but node_id is wrong? Expected " + str(uuid) + " but got " + str(uuid))
|
||||
|
Loading…
Reference in New Issue
Block a user