修复暂停计数逻辑错误

This commit is contained in:
MrZ626
2021-01-27 23:23:53 +08:00
parent b7575ddc4e
commit 625d457517
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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