修复BGM.stop调用方法不正确(类型错误)直接爆炸
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user