From 7d62f002741d322db1d9aa0b486bb0327a9b9b19 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 13 Dec 2020 23:43:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E5=BC=80=E5=A7=8B=E5=BC=80?= =?UTF-8?q?=E5=A7=8B=E4=B8=A4=E7=A7=92=E5=90=8E=E6=88=96=E8=80=85=E7=A1=AE?= =?UTF-8?q?=E5=AE=9E=E7=BB=93=E6=9D=9F=E5=90=8E=E6=89=8D=E8=AE=A1=E5=85=A5?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/gametoolfunc.lua | 2 +- parts/scenes/pause.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/parts/gametoolfunc.lua b/parts/gametoolfunc.lua index 5e7350a5..e204985b 100644 --- a/parts/gametoolfunc.lua +++ b/parts/gametoolfunc.lua @@ -526,7 +526,7 @@ local function tick_showMods() end end function resetGameData(replaying) - if PLAYERS[1]and not GAME.replaying then + if PLAYERS[1]and not GAME.replaying and(GAME.frame>400 or GAME.result)then mergeStat(STAT,PLAYERS[1].stat) STAT.todayTime=STAT.todayTime+PLAYERS[1].stat.time end diff --git a/parts/scenes/pause.lua b/parts/scenes/pause.lua index b965d459..f9c03270 100644 --- a/parts/scenes/pause.lua +++ b/parts/scenes/pause.lua @@ -122,7 +122,7 @@ function scene.sceneInit(org) end function scene.sceneBack() love.keyboard.setKeyRepeat(true) - if not GAME.replaying then + if not GAME.replaying and(GAME.frame>400 or GAME.result)then mergeStat(STAT,PLAYERS[1].stat) STAT.todayTime=STAT.todayTime+PLAYERS[1].stat.time end