From b4909bcb970fd176f18d39442f2808f688ffa4e7 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 20 Jan 2017 01:51:17 +0100 Subject: [PATCH] Fix some global variable fuckups --- mods/mcl_jukebox/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/mcl_jukebox/init.lua b/mods/mcl_jukebox/init.lua index 5c67ce95..ad5866a9 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 },