Skip to content

Commit 2684d95

Browse files
committed
Back out "Fix error in simple_spawner.gd with Godot 4.2.2"
This backs out commit 99e2dc1. We now require Godot 4.3.
1 parent c59c6a1 commit 2684d95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/block_code/simple_spawner/simple_spawner.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func spawn_once():
8989
if scenes.size() == 0:
9090
return
9191

92-
_spawned_scenes = _spawned_scenes.filter(func(instance): return is_instance_valid(instance))
92+
_spawned_scenes = _spawned_scenes.filter(is_instance_valid)
9393

9494
if spawn_limit != 0 and _spawned_scenes.size() >= spawn_limit:
9595
if limit_behavior == LimitBehavior.NO_SPAWN:

0 commit comments

Comments
 (0)