Add a delay before new wave spawns.
This commit is contained in:
parent
feb7541944
commit
485a2dc151
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user