From 0fa5fb690753ef6cbdb22795648a4373d1a0e18c Mon Sep 17 00:00:00 2001 From: 1029chris <1029chris@gmail.com> Date: Wed, 9 Feb 2022 20:40:16 -0800 Subject: respawn sound implemented, fixed dead players picking up pickups --- update.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'update.lua') diff --git a/update.lua b/update.lua index 3cdd445..6d8e3c1 100644 --- a/update.lua +++ b/update.lua @@ -1,12 +1,12 @@ --scrolling and respawn stuff respawntimer -= 1/60 if gameover then - -- sfx(1, 1, 0, 28) scrollspeed = mid(-1/10,scrollspeed-1/3000,1/60) if respawntimer < 0 then gameover = false foreach(players, function(obj) obj:respawn() end) setwave(mid(1,currentwave-2,#wave)) + sfx(29, -2) end elseif gamerunning then updatewaves() -- update the wave function -- cgit