diff --git a/Zframework/init.lua b/Zframework/init.lua index 9ba6f044..4fb5776e 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -1152,7 +1152,7 @@ function love.run() end --Fresh power info. - if Timer()-lastFreshPow>2 and setting.powerInfo and SCN.cur~="load"then + if Timer()-lastFreshPow>2 and setting.powerInfo and loadingFinished then updatePowerInfo() lastFreshPow=Timer() _=gc.getWidth() diff --git a/Zframework/timer.lua b/Zframework/timer.lua index 03e3e6cd..c5d0d333 100644 --- a/Zframework/timer.lua +++ b/Zframework/timer.lua @@ -52,6 +52,7 @@ function Tmr.load() SCN.swapTo("intro","none") end end + loadingFinished=true return end S.cur=S.cur+1