From e5be25b4817a10718f17a42f9a876aca37202ba4 Mon Sep 17 00:00:00 2001 From: MrZ_26 Date: Tue, 18 Aug 2020 21:54:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=89=E6=B6=88=E8=A1=8C=E5=BB=B6=E8=BF=9F+?= =?UTF-8?q?=E5=87=BA=E5=9D=97=E7=AD=89=E5=BE=85=E6=97=B6=E8=BF=9E=E7=BB=AD?= =?UTF-8?q?=E7=A1=AC=E9=99=8D=E5=87=BA=E7=8E=B0=E7=A5=9E=E7=A7=98=E7=8E=B0?= =?UTF-8?q?=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/player.lua b/parts/player.lua index 836afdc2..a877d7b4 100644 --- a/parts/player.lua +++ b/parts/player.lua @@ -410,9 +410,9 @@ local function Pupdate_alive(P,dt) --Try spawn new block if not P.control then goto stop end - if P.waiting==0 then P:popNext()end if P.waiting>=0 then P.waiting=P.waiting-1 + if P.waiting<0 then P:popNext()end goto stop end @@ -2328,7 +2328,7 @@ function player.act.hardDrop(P) P:changeAtkMode(3) end P.keyPressing[6]=false - elseif P.control and P.waiting<=0 and P.cur then + elseif P.control and P.waiting==-1 and P.cur then if P.curY~=P.imgY then if P.gameEnv.dropFX then P:createDropFX(P.curX,P.curY+1,P.curX+P.c-1,P.imgY+P.r-1)