加载完毕标记

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
--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()

View File

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