feat: Add PortalModeManager and integrate it for the Tekton Doors game mode.

This commit is contained in:
Yogi Wiguna
2026-02-26 17:42:47 +08:00
parent f13ec4782b
commit 145a1a53dc
2 changed files with 41 additions and 20 deletions
+2 -2
View File
@@ -259,8 +259,8 @@ func add_message_to_bar(player_name: String, message: String, type: int = Messag
message_bar.visible = false
@rpc("any_peer", "call_local")
func broadcast_message(player_name: String, message: String):
add_message_to_bar(player_name, message)
func broadcast_message(player_name: String, message: String, type: int = MessageType.NORMAL):
add_message_to_bar(player_name, message, type)
func _start_pre_game_countdown():
"""Show a 3-second countdown on all clients before starting."""