修复软降das设为0时需要按住两帧(应为一帧)才能触发0arr

This commit is contained in:
MrZ626
2021-06-08 21:51:07 +08:00
parent 67f5ed49ec
commit a51a95339b

View File

@@ -281,8 +281,8 @@ function update.alive(P,dt)
--Drop pressed
if P.keyPressing[7]and not P.keyPressing[9]then
local d=P.downing-ENV.sddas
P.downing=P.downing+1
local d=P.downing-ENV.sddas
if d>1 then
if ENV.sdarr>0 then
if d%ENV.sdarr==0 then