加载完毕标记

This commit is contained in:
MrZ_26
2020-08-11 00:31:37 +08:00
parent d0c7e14f74
commit 392ec9abab
2 changed files with 2 additions and 1 deletions

View File

@@ -1152,7 +1152,7 @@ function love.run()
end end
--Fresh power info. --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() updatePowerInfo()
lastFreshPow=Timer() lastFreshPow=Timer()
_=gc.getWidth() _=gc.getWidth()

View File

@@ -52,6 +52,7 @@ function Tmr.load()
SCN.swapTo("intro","none") SCN.swapTo("intro","none")
end end
end end
loadingFinished=true
return return
end end
S.cur=S.cur+1 S.cur=S.cur+1