This commit is contained in:
Marek Le
2026-04-02 23:22:51 +02:00
parent 73af6abeb7
commit 3488856b91
22 changed files with 534 additions and 78 deletions

View File

@@ -41,4 +41,8 @@ func _spawn_portal() -> void:
portals.append(portal)
func _cleanup_dead() -> void:
portals = portals.filter(func(p: Node) -> bool: return is_instance_valid(p))
var valid: Array[Node] = []
for p in portals:
if is_instance_valid(p):
valid.append(p)
portals = valid