Fix some global variable fuckups
This commit is contained in:
parent
f832f47531
commit
b4909bcb97
|
@ -31,7 +31,7 @@ local function now_playing(player, track_id)
|
||||||
if hud ~= nil then
|
if hud ~= nil then
|
||||||
player:hud_change(active_huds[player:get_player_name()], "text", text)
|
player:hud_change(active_huds[player:get_player_name()], "text", text)
|
||||||
else
|
else
|
||||||
id = player:hud_add({
|
local id = player:hud_add({
|
||||||
hud_elem_type = "text",
|
hud_elem_type = "text",
|
||||||
position = { x=0.5, y=0.8 },
|
position = { x=0.5, y=0.8 },
|
||||||
offset = { x=0, y = 0 },
|
offset = { x=0, y = 0 },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user