From 2c064d5809ea450b9d90cf6958e971a2ea825c50 Mon Sep 17 00:00:00 2001 From: MrZ_26 <1046101471@qq.com> Date: Wed, 19 Jan 2022 18:43:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=80=92=E8=AE=A1=E6=97=B6?= =?UTF-8?q?=E6=97=B6=E4=B8=8D=E8=83=BD=E5=85=85das=20close=20#610?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/player.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/player/player.lua b/parts/player/player.lua index 0e8cf9f9..60d48f05 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -217,11 +217,11 @@ function Player:_deepDrop() end end function Player:act_moveLeft(auto) + self.movDir=-1 if not self.control then return end if not auto then self.ctrlCount=self.ctrlCount+1 end - self.movDir=-1 if self.cur then if self.cur and not self:ifoverlap(self.cur.bk,self.curX-1,self.curY)then self:createMoveFX('left') @@ -239,11 +239,11 @@ function Player:act_moveLeft(auto) end end function Player:act_moveRight(auto) + self.movDir=1 if not self.control then return end if not auto then self.ctrlCount=self.ctrlCount+1 end - self.movDir=1 if self.cur then if self.cur and not self:ifoverlap(self.cur.bk,self.curX+1,self.curY)then self:createMoveFX('right')