从暂停界面回到游戏界面不改变回放速度

This commit is contained in:
MrZ626
2021-08-02 23:33:52 +08:00
parent 2e16240fb8
commit 849756531d

View File

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