音频文件缺失消息停留时间缩短

This commit is contained in:
MrZ626
2020-10-14 14:11:30 +08:00
parent 42ccdd15ed
commit 6dcb818847
3 changed files with 3 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ function BGM.loadOne(N)
BGM.list[N]:setLooping(true)
BGM.list[N]:setVolume(0)
else
LOG.print("No BGM file: "..N,"warn")
LOG.print("No BGM file: "..N,5,color.orange)
end
end
function BGM.loadAll()

View File

@@ -30,7 +30,7 @@ function SFX.loadOne(_)
if love.filesystem.getInfo(N)then
SFX.list[_]={love.audio.newSource(N,"static")}
else
LOG.print("No SFX file: "..N,"warn")
LOG.print("No SFX file: "..N,5,color.orange)
end
end
function SFX.loadAll()

View File

@@ -34,7 +34,7 @@ function VOC.loadOne(_)
end
if i==1 then
if not loadVoiceFile(N,N)then
LOG.print("No VOICE file: "..N,"warn")
LOG.print("No VOICE file: "..N,5,color.orange)
end
end
if not VOC.list[N][1]then VOC.list[N]=nil end