Skip to content

Commit

Permalink
修死亡延迟期间松开移动方向错误
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Jan 10, 2024
1 parent 628f75c commit aafd552
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/game/mechanicLib/mino/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ local function releaseMove(P,dir)
P.moveDir=false
P.moveCharge=0
if P.keyBuffer.move==dir then P.keyBuffer.move=false end
if P.hand and P.deathTimer then P[dir=='L' and 'moveLeft' or 'moveRight'](P) end
if P.hand and P.deathTimer then P[dir=='L' and 'moveRight' or 'moveLeft'](P) end
end
end

Expand Down
2 changes: 1 addition & 1 deletion assets/game/mechanicLib/puyo/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ local function releaseMove(P,dir)
P.moveDir=false
P.moveCharge=0
if P.keyBuffer.move==dir then P.keyBuffer.move=false end
if P.hand and P.deathTimer then P[dir=='L' and 'moveLeft' or 'moveRight'](P) end
if P.hand and P.deathTimer then P[dir=='L' and 'moveRight' or 'moveLeft'](P) end
end
end

Expand Down

0 comments on commit aafd552

Please sign in to comment.