From 64f05b64babc46d25ffcbcc96706865e064b7c04 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 11 Jan 2017 23:09:21 +0100 Subject: [PATCH] Change "Now playing" text appearance --- mods/mcl_jukebox/init.lua | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/mods/mcl_jukebox/init.lua b/mods/mcl_jukebox/init.lua index 67f203a5be..0115bc988d 100644 --- a/mods/mcl_jukebox/init.lua +++ b/mods/mcl_jukebox/init.lua @@ -26,9 +26,7 @@ end local function now_playing(player, track_id) local hud = active_huds[player:get_player_name()] - local text = - recorddata[track_id][1].."\n".. - recorddata[track_id][2] + local text = "Now playing: " .. recorddata[track_id][2] .. "—" .. recorddata[track_id][1] if hud ~= nil then player:hud_change(active_huds[player], "text", text) @@ -38,7 +36,7 @@ local function now_playing(player, track_id) position = { x=0.5, y=0.8 }, offset = { x=0, y = 0 }, size = { x=100, y=100}, - number = 0xFFFFFF, + number = 0x75FFEA, text = text, }) active_huds[player:get_player_name()] = id