添加log模块,用于代替之前缺少音频文件弹出的消息框
也给缺少图片和加载错误语言等地方添加了日志 控制台添加log命令输出日志
This commit is contained in:
@@ -45,8 +45,9 @@ function VOC.init(list)
|
||||
repeat n=n+1 until not _loadVoiceFile(path,list[i],list[i]..'_'..n)
|
||||
|
||||
if n==1 then
|
||||
_loadVoiceFile(path,list[i],list[i])
|
||||
-- if not _loadVoiceFile(path,list[i],list[i])then MES.new('warn',"[]no VOC] "..list[i],.1)end
|
||||
if not _loadVoiceFile(path,list[i],list[i])then
|
||||
LOG("No VOC: "..list[i],.1)
|
||||
end
|
||||
end
|
||||
if not Source[list[i]][1]then
|
||||
Source[list[i]]=nil
|
||||
|
||||
Reference in New Issue
Block a user