feat: Implement PortalDoor functionality and integrate PortalModeManager for the Tekton Doors game mode.

This commit is contained in:
Yogi Wiguna
2026-03-02 12:17:36 +08:00
parent a7442bb1a6
commit 1425dff93e
5 changed files with 148 additions and 15 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ func _on_body_entered(body: Node3D):
if body.is_in_group("Players") or body.get("is_bot"):
var current_time = Time.get_ticks_msec()
if body.has_meta("last_portal_time"):
if current_time - body.get_meta("last_portal_time") < 3000:
if current_time - body.get_meta("last_portal_time") < 1000:
return
body.set_meta("last_portal_time", current_time)