加载的嗡嗡音效改为只在到点亮的楼层播放

This commit is contained in:
MrZ626
2021-05-29 16:38:05 +08:00
parent 7a74b9bbf7
commit aec53318bf

View File

@@ -21,8 +21,10 @@ end
local function upFloor()
progress=progress+1
if light[3*progress+3]then
SFX.play('spin_0',.5)
end
light[3*progress+3]=false
SFX.play('spin_0',.5)
end
local loadingThread=coroutine.wrap(function()
for i=1,SFX.getCount()do