diff --git a/mods/mcl_jukebox/init.lua b/mods/mcl_jukebox/init.lua index 5c67ce9510..ad5866a95b 100644 --- a/mods/mcl_jukebox/init.lua +++ b/mods/mcl_jukebox/init.lua @@ -31,7 +31,7 @@ local function now_playing(player, track_id) if hud ~= nil then player:hud_change(active_huds[player:get_player_name()], "text", text) else - id = player:hud_add({ + local id = player:hud_add({ hud_elem_type = "text", position = { x=0.5, y=0.8 }, offset = { x=0, y = 0 },