feat: update vfx
This commit is contained in:
@@ -140,6 +140,10 @@ var _bot_names: Dictionary = {}
|
||||
# Room list filter ("" = all, "Freemode", "Stop n Go", etc.)
|
||||
var _room_mode_filter: String = ""
|
||||
|
||||
# Re-entry guard for the async host flow (prevents double-click from starting
|
||||
# two overlapping create_match() calls).
|
||||
var _is_hosting: bool = false
|
||||
|
||||
# =============================================================================
|
||||
# Chat System
|
||||
# =============================================================================
|
||||
@@ -248,6 +252,13 @@ func _ready():
|
||||
# Connect UserProfileManager signals
|
||||
UserProfileManager.profile_loaded.connect(func(_p): _sync_room_profile_card())
|
||||
UserProfileManager.profile_updated.connect(func(): _sync_room_profile_card())
|
||||
|
||||
# Clear the host re-entry guard whenever the host flow concludes — success,
|
||||
# failure, or leaving the room.
|
||||
LobbyManager.room_joined.connect(func(_r): _is_hosting = false)
|
||||
LobbyManager.room_left.connect(func(): _is_hosting = false)
|
||||
NakamaManager.match_join_error.connect(func(_e): _is_hosting = false)
|
||||
NakamaManager.connection_failed.connect(func(_e): _is_hosting = false)
|
||||
|
||||
# Connect Mailbox UI
|
||||
if MailManager:
|
||||
|
||||
Reference in New Issue
Block a user