diff options
| author | Chris Bradley <1029chris@gmail.com> | 2022-02-19 16:29:52 -0800 |
|---|---|---|
| committer | Chris Bradley <1029chris@gmail.com> | 2022-02-19 16:29:52 -0800 |
| commit | 5bfa4bdc01f19c019e5a8b8e0ac10511d3beaef3 (patch) | |
| tree | c61ce9bb30aeb0f2771111af3c9e1b3b979a0fc7 /waves.lua | |
| parent | 5ca492d316e5e37edb4054809ca3f18e055bd256 (diff) | |
Could you spare 6 tokens??
ALMOST DONE!!!!!!!!!! JUST NEED A COUPLE MORE TOKEEEEENSSS!!!!!!!!!!!!!!!!!!!!!!!
Diffstat (limited to 'waves.lua')
| -rw-r--r-- | waves.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
