We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c59c6a1 commit 2684d95Copy full SHA for 2684d95
addons/block_code/simple_spawner/simple_spawner.gd
@@ -89,7 +89,7 @@ func spawn_once():
89
if scenes.size() == 0:
90
return
91
92
- _spawned_scenes = _spawned_scenes.filter(func(instance): return is_instance_valid(instance))
+ _spawned_scenes = _spawned_scenes.filter(is_instance_valid)
93
94
if spawn_limit != 0 and _spawned_scenes.size() >= spawn_limit:
95
if limit_behavior == LimitBehavior.NO_SPAWN:
0 commit comments