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')