feat: Implement initial main game scene with gridmap, player, and core managers.
This commit is contained in:
@@ -50,14 +50,6 @@ func after_action_completed():
|
||||
# Only update UI if this is the LOCAL HUMAN PLAYER
|
||||
# Bots are owned by the host (authority match) but shouldn't trigger UI updates
|
||||
if multiplayer.get_unique_id() == player.get_multiplayer_authority():
|
||||
if not player.is_bot and not player.is_in_group("Bots"):
|
||||
var main = player.get_tree().get_root().get_node_or_null("Main")
|
||||
if main:
|
||||
main.ui_manager.update_playerboard_ui()
|
||||
|
||||
# Add this line to sync all boards
|
||||
main.update_all_players_boards()
|
||||
|
||||
# Sync playerboard (Bots DO need to sync their board logic, just not update local UI)
|
||||
if player.is_multiplayer_authority() and player.has_method("can_rpc") and player.can_rpc():
|
||||
var main = player.get_tree().get_root().get_node_or_null("Main")
|
||||
|
||||
Reference in New Issue
Block a user