From 9b33f5645641288488f369acec84e27f8225ce81 Mon Sep 17 00:00:00 2001 From: MrZ626 <1046101471@qq.com> Date: Mon, 7 Dec 2020 16:30:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DBGM.stop=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E4=B8=8D=E6=AD=A3=E7=A1=AE=EF=BC=88=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=94=99=E8=AF=AF=EF=BC=89=E7=9B=B4=E6=8E=A5=E7=88=86?= =?UTF-8?q?=E7=82=B8?= 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 48a27fc8..4f88c41f 100644 --- a/Zframework/bgm.lua +++ b/Zframework/bgm.lua @@ -80,7 +80,7 @@ function BGM.freshVolume() end function BGM.stop() TASK.removeTask_code(fadeIn) - if BGM.nowPlay then TASK.new(fadeOut,BGM.nowPlay)end + if BGM.nowPlay then TASK.new(fadeOut,BGM.playing)end BGM.nowPlay,BGM.playing=nil end return BGM \ No newline at end of file