从暂停界面回到游戏界面不改变回放速度
This commit is contained in:
@@ -68,14 +68,16 @@ end
|
|||||||
local function _step()floatRepRate=floatRepRate+1 end
|
local function _step()floatRepRate=floatRepRate+1 end
|
||||||
|
|
||||||
|
|
||||||
function scene.sceneInit()
|
function scene.sceneInit(org)
|
||||||
if GAME.init then
|
if GAME.init then
|
||||||
resetGameData()
|
resetGameData()
|
||||||
GAME.init=false
|
GAME.init=false
|
||||||
end
|
end
|
||||||
floatRepRate,replayRate=0,1
|
|
||||||
replaying=GAME.replaying
|
replaying=GAME.replaying
|
||||||
|
|
||||||
|
if org~='depause'and org~='pause'then
|
||||||
|
floatRepRate,replayRate=0,1
|
||||||
|
end
|
||||||
updateRepButtons()
|
updateRepButtons()
|
||||||
|
|
||||||
noKey=replaying
|
noKey=replaying
|
||||||
|
|||||||
Reference in New Issue
Block a user