From 444c5e571e65ec847e3edcac2cfd31f3d310a230 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 16 Apr 2021 21:15:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B2=A1=E5=BC=80ihs?= =?UTF-8?q?=E7=9A=84=E6=97=B6=E5=80=99=E6=8F=90=E5=89=8Dhold=E4=BC=9A?= =?UTF-8?q?=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/player.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/parts/player/player.lua b/parts/player/player.lua index 39d33c9f..bc2de066 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -781,12 +781,12 @@ function Player:popNext(ifhold)--Pop nextQueue to hand end end - local _=self.keyPressing + local pressing=self.keyPressing --IHS - if not ifhold and _[8]and self.gameEnv.ihs then + if not ifhold and pressing[8]and self.gameEnv.ihs and self.holdTime>0 then self:hold(true) - _[8]=false + pressing[8]=false else self:resetBlock() end @@ -804,9 +804,9 @@ function Player:popNext(ifhold)--Pop nextQueue to hand end --IHdS - if _[6]and not ifhold then + if pressing[6]and not ifhold then self.act_hardDrop(self) - _[6]=false + pressing[6]=false end else self:hold()