微调初始化主题的时机

This commit is contained in:
MrZ626
2021-03-18 20:37:30 +08:00
parent 7bcbb4c5b9
commit 37a659ab30
2 changed files with 2 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ local scene={}
local t1,t2,animateType
function scene.sceneInit()
BG.set()
t1,t2=0,0--Timer
animateType={rnd(5),rnd(5),rnd(5),rnd(5),rnd(5),rnd(5),rnd(5),rnd(5)}--Random animation type
end

View File

@@ -182,7 +182,6 @@ local loadingThread=coroutine.create(function()
authToken=USER.authToken,
})
]]
THEME.fresh()
while true do
if math.random()<.126 then
upFloor()
@@ -191,6 +190,7 @@ local loadingThread=coroutine.create(function()
loadingThread=false
SFX.play("welcome_sfx")
VOC.play("welcome_voc")
THEME.fresh()
return
end
YIELD()