aboutsummaryrefslogtreecommitdiff
path: root/waves.lua
diff options
context:
space:
mode:
authorChris Bradley <1029chris@gmail.com>2022-02-19 16:29:52 -0800
committerChris Bradley <1029chris@gmail.com>2022-02-19 16:29:52 -0800
commit5bfa4bdc01f19c019e5a8b8e0ac10511d3beaef3 (patch)
treec61ce9bb30aeb0f2771111af3c9e1b3b979a0fc7 /waves.lua
parent5ca492d316e5e37edb4054809ca3f18e055bd256 (diff)
Could you spare 6 tokens??
ALMOST DONE!!!!!!!!!! JUST NEED A COUPLE MORE TOKEEEEENSSS!!!!!!!!!!!!!!!!!!!!!!!
Diffstat (limited to 'waves.lua')
-rw-r--r--waves.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/waves.lua b/waves.lua
index 1fdfb1d..0676054 100644
--- a/waves.lua
+++ b/waves.lua
@@ -1,5 +1,5 @@
wave = {} --store wave functions here
-currentwave = 1 --THIS IS THE CURRENT WAVE, SHOLD BE 1 UNLESS TESTING SOMETHING
+currentwave = 19 --THIS IS THE CURRENT WAVE, SHOLD BE 1 UNLESS TESTING SOMETHING
currentwavetime = 0
delaytimer = 0
everysecondtimer = 0
@@ -301,7 +301,7 @@ function updatewaves()
music(8,0,3)
end
delaytimer += ft
- if delaytimer > wave[min(currentwave+1, #wave)].delay then
+ if delaytimer > wave[currentwave+1].delay then
everysecondtimer = 0
currentwave += 1
if not wave[currentwave].boss and bossmusic then