summaryrefslogtreecommitdiff
path: root/scenes/levels
diff options
context:
space:
mode:
authorrom <romangraef@gmail.com>2021-04-26 18:22:22 +0200
committerrom <romangraef@gmail.com>2021-04-26 18:22:31 +0200
commit16177b5dd90ced86cdfc6f38982419a674c0dc56 (patch)
tree325793409906b1d500367edfb050ed8f3ad72abf /scenes/levels
parent1bada2f859950122412ad65ac4a7f8cb0acb4089 (diff)
downloadldjam48-16177b5dd90ced86cdfc6f38982419a674c0dc56.tar.gz
ldjam48-16177b5dd90ced86cdfc6f38982419a674c0dc56.tar.bz2
ldjam48-16177b5dd90ced86cdfc6f38982419a674c0dc56.zip
grrr
Diffstat (limited to 'scenes/levels')
-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