修复软降das设为0时需要按住两帧(应为一帧)才能触发0arr
This commit is contained in:
@@ -281,8 +281,8 @@ function update.alive(P,dt)
|
|||||||
|
|
||||||
--Drop pressed
|
--Drop pressed
|
||||||
if P.keyPressing[7]and not P.keyPressing[9]then
|
if P.keyPressing[7]and not P.keyPressing[9]then
|
||||||
local d=P.downing-ENV.sddas
|
|
||||||
P.downing=P.downing+1
|
P.downing=P.downing+1
|
||||||
|
local d=P.downing-ENV.sddas
|
||||||
if d>1 then
|
if d>1 then
|
||||||
if ENV.sdarr>0 then
|
if ENV.sdarr>0 then
|
||||||
if d%ENV.sdarr==0 then
|
if d%ENV.sdarr==0 then
|
||||||
|
|||||||
Reference in New Issue
Block a user