修复BGM.stop调用方法不正确(类型错误)直接爆炸
This commit is contained in:
@@ -80,7 +80,7 @@ function BGM.freshVolume()
|
|||||||
end
|
end
|
||||||
function BGM.stop()
|
function BGM.stop()
|
||||||
TASK.removeTask_code(fadeIn)
|
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
|
BGM.nowPlay,BGM.playing=nil
|
||||||
end
|
end
|
||||||
return BGM
|
return BGM
|
||||||
Reference in New Issue
Block a user