Skip to content

Commit

Permalink
Back out "Fix error in simple_spawner.gd with Godot 4.2.2"
Browse files Browse the repository at this point in the history
This backs out commit 99e2dc1.

We now require Godot 4.3.
  • Loading branch information
wjt committed Dec 18, 2024
1 parent c59c6a1 commit 2684d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/block_code/simple_spawner/simple_spawner.gd
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func spawn_once():
if scenes.size() == 0:
return

_spawned_scenes = _spawned_scenes.filter(func(instance): return is_instance_valid(instance))
_spawned_scenes = _spawned_scenes.filter(is_instance_valid)

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

0 comments on commit 2684d95

Please sign in to comment.