修复暂停界面第一帧有时候会闪烁
This commit is contained in:
@@ -25,7 +25,7 @@ function scene.sceneInit()
|
|||||||
local P1=PLAYERS[1]
|
local P1=PLAYERS[1]
|
||||||
local S=P1.stat
|
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
|
timer2=timer1
|
||||||
|
|
||||||
local frameLostRate=(S.frame/S.time/60-1)*100
|
local frameLostRate=(S.frame/S.time/60-1)*100
|
||||||
|
|||||||
Reference in New Issue
Block a user