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.
2 parents 9f26461 + 99e2dc1 commit 22c0777Copy full SHA for 22c0777
addons/block_code/simple_spawner/simple_spawner.gd
@@ -79,7 +79,7 @@ func spawn_once():
79
if scenes.size() == 0:
80
return
81
82
- _spawned_scenes = _spawned_scenes.filter(is_instance_valid)
+ _spawned_scenes = _spawned_scenes.filter(func(instance): return is_instance_valid(instance))
83
84
if spawn_limit != 0 and _spawned_scenes.size() >= spawn_limit:
85
if limit_behavior == LimitBehavior.NO_SPAWN:
0 commit comments