From 849756531ddb627b0008fcaf10ad2b7e24f6ded6 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 2 Aug 2021 23:33:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=8E=E6=9A=82=E5=81=9C=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E5=9B=9E=E5=88=B0=E6=B8=B8=E6=88=8F=E7=95=8C=E9=9D=A2=E4=B8=8D?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E5=9B=9E=E6=94=BE=E9=80=9F=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/scenes/game.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/parts/scenes/game.lua b/parts/scenes/game.lua index e3a17ad2..7c35345e 100644 --- a/parts/scenes/game.lua +++ b/parts/scenes/game.lua @@ -68,14 +68,16 @@ end local function _step()floatRepRate=floatRepRate+1 end -function scene.sceneInit() +function scene.sceneInit(org) if GAME.init then resetGameData() GAME.init=false end - floatRepRate,replayRate=0,1 replaying=GAME.replaying + if org~='depause'and org~='pause'then + floatRepRate,replayRate=0,1 + end updateRepButtons() noKey=replaying