From 33b0a4095c849f20ae89f6f6d9e4d81f6f6d3d31 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Fri, 23 Oct 2020 20:23:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dhold=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E6=96=B9=E5=9D=97=E5=AF=B9=E6=9E=81=E7=AE=80=E7=9A=84=E6=83=A9?= =?UTF-8?q?=E7=BD=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/parts/player.lua b/parts/player.lua index 9785af40..d2363b53 100644 --- a/parts/player.lua +++ b/parts/player.lua @@ -1911,7 +1911,9 @@ function player.hold(P,ifpre) if not(H or C)then return end --Finesse check - if not(H and C and H.id==C.id and H.name==C.name or P.ctrlCount>1)then + if H and C and H.id==C.id and H.name==C.name then + P.ctrlCount=P.ctrlCount+1 + elseif P.ctrlCount<=1 then P.ctrlCount=0 end