Update
This commit is contained in:
+7
-7
@@ -595,13 +595,13 @@ func create_specific_player(data: Dictionary):
|
||||
if playerboard_to_set.size() > 0 and player_character.race_manager:
|
||||
player_character.playerboard = playerboard_to_set
|
||||
|
||||
# Update position if not already set
|
||||
if not node_already_exists:
|
||||
player_character.global_position = Vector3(
|
||||
data["position"].x * 2 + 1,
|
||||
1.0,
|
||||
data["position"].y * 2 + 1
|
||||
)
|
||||
# Always update position (including for existing nodes, so client sees host correctly)
|
||||
player_character.current_position = data["position"]
|
||||
player_character.global_position = Vector3(
|
||||
data["position"].x * 2 + 1,
|
||||
1.0,
|
||||
data["position"].y * 2 + 1
|
||||
)
|
||||
|
||||
# Update playerboard UI for local player
|
||||
if is_local_player:
|
||||
|
||||
Reference in New Issue
Block a user