summaryrefslogtreecommitdiff
path: root/scenes/levels/pixel/PixelDefender.gd
diff options
context:
space:
mode:
Diffstat (limited to 'scenes/levels/pixel/PixelDefender.gd')
-rw-r--r--scenes/levels/pixel/PixelDefender.gd2
1 files changed, 2 insertions, 0 deletions
diff --git a/scenes/levels/pixel/PixelDefender.gd b/scenes/levels/pixel/PixelDefender.gd
index 2fc2e2d..a7c8661 100644
--- a/scenes/levels/pixel/PixelDefender.gd
+++ b/scenes/levels/pixel/PixelDefender.gd
@@ -23,6 +23,8 @@ func _new_enemy():
func start():
.start()
+ t = 0
+ $Enemies.get_children().clear()
var enemy_count = 5
if Settings.difficulty == Settings.Difficulty.HARD:
enemy_count += 3