diff --git a/parts/scenes/game.lua b/parts/scenes/game.lua index be79e948..3a7ceaf1 100644 --- a/parts/scenes/game.lua +++ b/parts/scenes/game.lua @@ -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 - if org~='depause'and org~='pause'then - floatRepRate,replayRate=0,1 - end updateRepButtons() WIDGET.active.restart.hide=replaying if SETTING.menuPos=='right'then