diff --git a/bundle/main.lua b/bundle/main.lua index 99333b6..3d2376b 100644 --- a/bundle/main.lua +++ b/bundle/main.lua @@ -218,6 +218,10 @@ end function love.update(dt) updateMissiles(dt) updateExplosions(dt) + + if #explosions == 0 and #missiles == 0 then + love.event.quit() + end end function movePaddle(screen_x)