Skip to content

Commit d9b120c

Browse files
authored
fix: properly use new Channel API
1 parent e671a83 commit d9b120c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

musicloader.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ end
3535
function music:play(name)
3636
if name and soundenabled then
3737
if self.loaded[name] == false then
38-
local source = love.thread.getChannel("musiclist"):demand(name)
38+
local source = love.thread.getChannel(name):demand()
3939
self:onLoad(name, source)
4040
end
4141
if self.loaded[name] then

0 commit comments

Comments
 (0)