From 625d45751756d0fca51fd827721d18b35cf49b06 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 27 Jan 2021 23:23:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9A=82=E5=81=9C=E8=AE=A1?= =?UTF-8?q?=E6=95=B0=E9=80=BB=E8=BE=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- parts/gametoolfunc.lua | 3 +++ parts/scenes/pause.lua | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/parts/gametoolfunc.lua b/parts/gametoolfunc.lua index 44f40c3f..0dd51b22 100644 --- a/parts/gametoolfunc.lua +++ b/parts/gametoolfunc.lua @@ -456,6 +456,9 @@ function pauseGame() end end end + if not(GAME.result or GAME.replaying)then + GAME.pauseCount=GAME.pauseCount+1 + end SCN.swapTo("pause","none") end end diff --git a/parts/scenes/pause.lua b/parts/scenes/pause.lua index b9e486f8..7249b167 100644 --- a/parts/scenes/pause.lua +++ b/parts/scenes/pause.lua @@ -114,9 +114,6 @@ function scene.sceneInit(org) else rank,trophy=nil end - if not(GAME.result or GAME.replaying)then - GAME.pauseCount=GAME.pauseCount+1 - end if org~="play"and GAME.prevBG then BG.set(GAME.prevBG) end