修复暂停计数逻辑错误
This commit is contained in:
@@ -456,6 +456,9 @@ function pauseGame()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if not(GAME.result or GAME.replaying)then
|
||||||
|
GAME.pauseCount=GAME.pauseCount+1
|
||||||
|
end
|
||||||
SCN.swapTo("pause","none")
|
SCN.swapTo("pause","none")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -114,9 +114,6 @@ function scene.sceneInit(org)
|
|||||||
else
|
else
|
||||||
rank,trophy=nil
|
rank,trophy=nil
|
||||||
end
|
end
|
||||||
if not(GAME.result or GAME.replaying)then
|
|
||||||
GAME.pauseCount=GAME.pauseCount+1
|
|
||||||
end
|
|
||||||
if org~="play"and GAME.prevBG then
|
if org~="play"and GAME.prevBG then
|
||||||
BG.set(GAME.prevBG)
|
BG.set(GAME.prevBG)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user