Add a delay before new wave spawns.

This commit is contained in:
Anna Rose 2023-10-04 01:23:20 -04:00
parent feb7541944
commit 485a2dc151

View File

@ -101,7 +101,7 @@ function playdate.update()
if currentWave:update() then if currentWave:update() then
-- fight forever lol -- fight forever lol
currentWave = newWave() currentWave = newWave()
currentWave:add() playdate.timer.performAfterDelay(1000, Wave.add, currentWave)
end end
playdate.timer.updateTimers() playdate.timer.updateTimers()
end end