mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-17 21:23:44 +01:00
Fix some global variable fuckups
This commit is contained in:
@ -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 },
|
||||||
|
Reference in New Issue
Block a user