From 485a2dc151a7fe2d319e359ce5473ef83bcb392a Mon Sep 17 00:00:00 2001 From: annabunches Date: Wed, 4 Oct 2023 01:23:20 -0400 Subject: [PATCH] Add a delay before new wave spawns. --- src/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.lua b/src/main.lua index 6a5e5aa..c11373b 100644 --- a/src/main.lua +++ b/src/main.lua @@ -101,7 +101,7 @@ function playdate.update() if currentWave:update() then -- fight forever lol currentWave = newWave() - currentWave:add() + playdate.timer.performAfterDelay(1000, Wave.add, currentWave) end playdate.timer.updateTimers() end