This commit is contained in:
2025-01-28 17:03:07 +08:00
parent f3d720d91d
commit 209edd9e77
+1 -1
View File
@@ -307,7 +307,7 @@ func end_turn():
is_my_turn = false
has_moved_this_turn = false
if is_multiplayer_authority():
get_node("/root/Main").request_next_turn()
get_tree().get_root().get_node_or_null("Main").request_next_turn()
@rpc("any_peer", "call_local", "unreliable")
func remote_set_position(authority_position):