tweaks to playlist loader, working on preventing reentry to levels in round

This commit is contained in:
derek
2025-02-28 16:41:21 -06:00
parent dba1be2034
commit 3ab4160be6
9 changed files with 23 additions and 8 deletions

View File

@@ -7,6 +7,7 @@ class_name Portal
@export var scene_thumbnail : Texture2D
var active = false
var round_id : Vector2
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
@@ -20,6 +21,7 @@ func _process(delta: float) -> void:
func _on_body_entered(body: Node3D) -> void:
if active:
GameGlobals.no_reentry_portals.append(round_id)
#Let the Bounds detector know player is exiting
SignalBus.emit_signal("player_exiting_tree")
#Set incoming gamemode