diff --git a/Zframework/bgm.lua b/Zframework/bgm.lua index 6c21fb3e..1cdcd456 100644 --- a/Zframework/bgm.lua +++ b/Zframework/bgm.lua @@ -36,13 +36,13 @@ function BGM.init(list) Sources[name]:setLooping(true) Sources[name]:setVolume(0) return true - else - MES.new('warn',"No BGM file: "..Sources[name],5) + -- else + -- MES.new('warn',"No BGM file: "..Sources[name],5) end elseif Sources[name]then return true - elseif name then - MES.new('warn',"No BGM: "..name,5) + -- elseif name then + -- MES.new('warn',"No BGM: "..name,5) end end function BGM.loadAll()for name in next,Sources do _load(name)end end diff --git a/Zframework/voice.lua b/Zframework/voice.lua index cc288ce2..83f66ab5 100644 --- a/Zframework/voice.lua +++ b/Zframework/voice.lua @@ -45,9 +45,8 @@ function VOC.init(list) repeat n=n+1 until not _loadVoiceFile(list[i],list[i]..'_'..n) if n==1 then - if not _loadVoiceFile(list[i],list[i])then - MES.new('warn',"No VOICE file: "..list[i],.1) - end + _loadVoiceFile(list[i],list[i]) + -- if not _loadVoiceFile(list[i],list[i])then MES.new('warn',"No VOICE file: "..list[i],.1)end end if not Source[list[i]][1]then Source[list[i]]=nil