bpm bugfix
This commit is contained in:
parent
9080dd7607
commit
8c0d66e12d
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ function self.update(dt)
|
|||
local mx, my = love.mouse.getPosition()
|
||||
|
||||
if not (love.mouse.isDown(1) and mx > x and mx < x + w and my > y and my < y + h) then
|
||||
timer = (timer + dt * (slider.kvalue('bpm')/120)) % 2
|
||||
timer = (timer + dt * ((slider.kvalue('bpm') or 120)/120)) % 2
|
||||
else
|
||||
timer = mix(timer, (mx - x) / w, dt * 14)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue