From 22c213b10f30b78d81d22d9690fd383deea17a8d Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Thu, 24 Jun 2021 11:29:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=8B=BC=E5=9B=BE=E6=A8=A1=E5=BC=8F=E8=83=9C?= =?UTF-8?q?=E5=88=A9=E5=90=8E=E6=96=87=E5=AD=97=E4=B8=8D=E4=BC=9A=E6=B6=88?= =?UTF-8?q?=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/player.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/parts/player/player.lua b/parts/player/player.lua index f6fe883f..25415213 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -804,7 +804,7 @@ function Player:popNext(ifhold)--Pop nextQueue to hand --IHdS if pressing[6]and not ifhold then - self.act_hardDrop(self) + self:act_hardDrop() pressing[6]=false end else @@ -1535,7 +1535,7 @@ function Player:loadAI(data)--Load AI params self:setRS('TRS') end self.AI_thread=coroutine.wrap(AIFUNC[data.type]) - self.AI_thread(self,self.AI_keys) + self:AI_thread(self.AI_keys) end ---------------------------------------------------- @@ -1701,7 +1701,7 @@ function Player:win(result) BGM.play('8-bit happiness') end end - if GAME.curMode.id=='custom_puzzle'then + if GAME.curMode.name=='custom_puzzle'then self:showTextF(text.win,0,0,90,'beat',.4) else self:showTextF(text.win,0,0,90,'beat',.5,.2) @@ -1886,7 +1886,7 @@ function Player:act_hardDrop() self.fieldOff.va=self.fieldOff.va+self:getCenterX()*ENV.shakeFX*6e-4 end self.lockDelay=-1 - self:drop(false) + self:drop() self.keyPressing[6]=false end end