修复多hold时hold槽填满有一个错误行为

This commit is contained in:
MrZ626
2020-11-18 23:47:25 +08:00
parent 50193ab149
commit c000f5a3a1

View File

@@ -577,7 +577,7 @@ function Player.hold(P,ifpre)
if P:ifoverlap(P.cur.bk,P.curX,P.curY)then P:lock()P:lose()end
end
if #P.holdQueue==P.gameEnv.holdCount then
if N==1 then
ins(P.holdQueue,rem(P.holdQueue,1))
end