feat: Implement PortalDoor functionality and integrate PortalModeManager for the Tekton Doors game mode.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user