feat: Implement core multiplayer lobby system with room management, player profiles, and game settings.

This commit is contained in:
Yogi Wiguna
2026-02-09 17:46:18 +08:00
parent bffa9474e9
commit 65d18d8d96
4 changed files with 24 additions and 7 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ func set_player_name(new_name: String) -> void:
break
# Sync to all peers if connected
if multiplayer.has_multiplayer_peer():
if multiplayer.has_multiplayer_peer() and multiplayer.multiplayer_peer.get_connection_status() == MultiplayerPeer.CONNECTION_CONNECTED:
rpc("sync_player_name", my_id, new_name)
emit_signal("player_list_changed")