音频文件缺失消息停留时间缩短
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user