This commit is contained in:
torontocaper committed 2025-11-06 22:36:25 -05:00
1 parent a57003ec24
commit f0fec8bfc7
9 files changed
+224 -9

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ func update_enemies() -> void:
var total_enemies : int = 0
for enemy in enemies.get_children():
if enemy is Slimer:
total_enemies += 1
total_enemies = total_enemies + 1
if not enemy.player_slimed.is_connected(GameController.on_player_slimed):
enemy.player_slimed.connect(GameController.on_player_slimed)
GameController.add_enemy_to_level(enemy)