From c000f5a3a1b465d5f8182f4dcc17a5aa611dc8bb Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 18 Nov 2020 23:47:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=9Ahold=E6=97=B6hold?= =?UTF-8?q?=E6=A7=BD=E5=A1=AB=E6=BB=A1=E6=9C=89=E4=B8=80=E4=B8=AA=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E8=A1=8C=E4=B8=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/player.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parts/player/player.lua b/parts/player/player.lua index 7b3c45e2..abfe2b75 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -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