修复暂停界面第一帧有时候会闪烁

This commit is contained in:
MrZ_26
2022-10-29 17:18:30 +08:00
parent 749806e553
commit 308512d36a

View File

@@ -25,7 +25,7 @@ function scene.sceneInit()
local P1=PLAYERS[1]
local S=P1.stat
timer1=SCN.prev=='game' and 0 or 50
timer1=(SCN.prev=='game' or SCN.prev=='depause') and 0 or 1
timer2=timer1
local frameLostRate=(S.frame/S.time/60-1)*100