再次修复进入游戏场景时初始化代码顺序错误
This commit is contained in:
@@ -70,18 +70,18 @@ local function _step()floatRepRate=floatRepRate+1 end
|
||||
|
||||
|
||||
function scene.sceneInit(org)
|
||||
replaying=GAME.replaying
|
||||
noKey=replaying
|
||||
noTouch=not SETTING.VKSwitch or noKey
|
||||
if org~='depause'and org~='pause'then
|
||||
floatRepRate,replayRate=0,1
|
||||
end
|
||||
|
||||
if GAME.init then
|
||||
resetGameData()
|
||||
GAME.init=false
|
||||
end
|
||||
|
||||
replaying=GAME.replaying
|
||||
noKey=replaying
|
||||
noTouch=not SETTING.VKSwitch or replaying
|
||||
if org~='depause'and org~='pause'then
|
||||
floatRepRate,replayRate=0,1
|
||||
end
|
||||
|
||||
updateRepButtons()
|
||||
WIDGET.active.restart.hide=replaying
|
||||
if SETTING.menuPos=='right'then
|
||||
|
||||
Reference in New Issue
Block a user