From 7240275075e7aee5c304b6390cfb89be86235b6e Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Sun, 19 Dec 2021 15:26:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=B8=AAbgm?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=B0=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zframework/bgm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zframework/bgm.lua b/Zframework/bgm.lua index d1717d1e..03fd82bf 100644 --- a/Zframework/bgm.lua +++ b/Zframework/bgm.lua @@ -169,7 +169,7 @@ function BGM.init(list) if BGM.nowPlay then TASK.new(task_fadeOut,BGM.playing) end - else + elseif BGM.playing then BGM.playing:pause() end BGM.nowPlay,BGM.playing=nil