aboutsummaryrefslogtreecommitdiff
path: root/update.lua
diff options
context:
space:
mode:
Diffstat (limited to 'update.lua')
-rw-r--r--update.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/update.lua b/update.lua
index e7b480c..5ccf5c7 100644
--- a/update.lua
+++ b/update.lua
@@ -5,7 +5,7 @@ if gameover then
if respawntimer < 0 then
gameover = false
foreach(players, function(obj) obj:respawn() end)
- setwave(mid(1,currentwave-2,#wave))
+ setwave(mid(checkpoint,currentwave-2,#wave))
sfx(29, -2)
-- sfx(24)
end
@@ -19,7 +19,6 @@ if not gamerunning and t() > 1 then
if btn(4) then
addplayer(18, 60, 16, 18)
startgame()
- addlaser(60,60,10) -- temp spawning laser on start!!!!! GET RID OF THIS!!!!
elseif btn(5) then
addplayer(18, 45, 16, 18)
addplayer(18, 75, 32, 34)