From 981479ca5f1e18fd69b010cfad3021f5ffb0c514 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Tue, 22 Jun 2021 20:39:19 +0800 Subject: [PATCH] =?UTF-8?q?hold=E8=A2=AB=E7=A6=81=E7=94=A8=E6=97=B6?= =?UTF-8?q?=E8=99=9A=E6=8B=9F=E6=8C=89=E9=94=AE=E4=B8=8D=E6=B6=88=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/player/player.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/parts/player/player.lua b/parts/player/player.lua index db2794f7..288cc9b0 100644 --- a/parts/player/player.lua +++ b/parts/player/player.lua @@ -194,6 +194,7 @@ function Player:setHold(count)--Set hold count (false/true as 0/1) elseif count==true then count=1 end + self:switchKey(8,count>0) self.gameEnv.holdCount=count self.holdTime=count while self.holdQueue[count+1]do rem(self.holdQueue)end