从暂停界面回到游戏界面不改变回放速度
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user