From ac889dcba92a37d3f53427d2ee7d8ca43e53d3ab Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 9 Aug 2021 02:33:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=9B=E5=85=A5=E6=B8=B8?= =?UTF-8?q?=E6=88=8F=E5=9C=BA=E6=99=AF=E6=97=B6=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E9=A1=BA=E5=BA=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/game.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/parts/scenes/game.lua b/parts/scenes/game.lua index be79e948..3a7ceaf1 100644 --- a/parts/scenes/game.lua +++ b/parts/scenes/game.lua @@ -70,18 +70,18 @@ local function _step()floatRepRate=floatRepRate+1 end function scene.sceneInit(org) + replaying=GAME.replaying noKey=replaying noTouch=not SETTING.VKSwitch or noKey + if org~='depause'and org~='pause'then + floatRepRate,replayRate=0,1 + end if GAME.init then resetGameData() GAME.init=false end - replaying=GAME.replaying - if org~='depause'and org~='pause'then - floatRepRate,replayRate=0,1 - end updateRepButtons() WIDGET.active.restart.hide=replaying if SETTING.menuPos=='right'then