整理代码

This commit is contained in:
MrZ626
2020-09-21 14:33:51 +08:00
parent fce0b3862d
commit 0b7032ce50

View File

@@ -475,15 +475,12 @@ local function Pupdate_dead(P,dt)
end
if P.falling>=0 then
P.falling=P.falling-1
if P.falling>=0 then
goto stop
else
if P.falling<0 then
local L=#P.clearingRow
if P.human and P.gameEnv.fall>0 and #P.field+L>P.clearingRow[L]then SFX.play("fall")end
P.clearingRow={}
end
end
::stop::
if P.b2b1>0 then P.b2b1=max(0,P.b2b1*.92-1)end
updateLine(P,dt)
updateFXs(P,dt)