整理代码

This commit is contained in:
MrZ626
2020-10-24 23:43:07 +08:00
parent 8892a63241
commit 0405eeea14
2 changed files with 3 additions and 3 deletions

View File

@@ -582,7 +582,7 @@ function love.run()
--Fresh power info. --Fresh power info.
if Timer()-lastFreshPow>2 then if Timer()-lastFreshPow>2 then
if SETTING.powerInfo and loadingFinished then if SETTING.powerInfo and LOADED then
updatePowerInfo() updatePowerInfo()
lastFreshPow=Timer() lastFreshPow=Timer()
end end

View File

@@ -159,8 +159,8 @@ do--load
function sceneInit.load() function sceneInit.load()
sceneTemp={ sceneTemp={
phase=1,--Loading stage phase=1,--Loading stage
cur=1,--Counter cur=1,--Loading timer
tar=#VOC.name,--Loading bar length(current) tar=#VOC.name,--Current Loading bar length
tip=require("parts/getTip"), tip=require("parts/getTip"),
list={ list={
#VOC.name, #VOC.name,