优化切换到游戏场景时重置播放速度的逻辑

This commit is contained in:
MrZ626
2021-08-17 02:12:16 +08:00
parent 1b176ed5ad
commit c777fc969a

View File

@@ -135,10 +135,14 @@ function scene.sceneInit(org)
noKey=replaying
noTouch=not SETTING.VKSwitch or replaying
if tasMode then
floatGameRate,gameRate=0,0
elseif org~='depause'and org~='pause'then
if org~='depause'and org~='pause'then
floatGameRate,gameRate=0,1
elseif not replaying then
if tasMode then
floatGameRate,gameRate=0,0
else
floatGameRate,gameRate=0,1
end
end
updateRepButtons()