Fix some global variable fuckups

This commit is contained in:
Wuzzy 2017-01-20 01:51:17 +01:00
parent f832f47531
commit b4909bcb97
1 changed files with 1 additions and 1 deletions

View File

@ -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 },