mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-19 09:31:07 +01:00
Fix some global variable fuckups
This commit is contained in:
parent
f832f47531
commit
b4909bcb97
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue