From 6dcb818847db20b385e1b35368605e29fae5bde8 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Wed, 14 Oct 2020 14:11:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9F=B3=E9=A2=91=E6=96=87=E4=BB=B6=E7=BC=BA?= =?UTF-8?q?=E5=A4=B1=E6=B6=88=E6=81=AF=E5=81=9C=E7=95=99=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E7=BC=A9=E7=9F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/bgm.lua | 2 +- Zframework/sfx.lua | 2 +- Zframework/voice.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Zframework/bgm.lua b/Zframework/bgm.lua index 049b4723..3651b2e8 100644 --- a/Zframework/bgm.lua +++ b/Zframework/bgm.lua @@ -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() diff --git a/Zframework/sfx.lua b/Zframework/sfx.lua index 2716d0bd..78691804 100644 --- a/Zframework/sfx.lua +++ b/Zframework/sfx.lua @@ -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() diff --git a/Zframework/voice.lua b/Zframework/voice.lua index 7ed29dd9..d80d54bd 100644 --- a/Zframework/voice.lua +++ b/Zframework/voice.lua @@ -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