From 6e04df9c4d375019d737a40c868f687e49c9d085 Mon Sep 17 00:00:00 2001 From: -sniper- <47271658+JostP@users.noreply.github.com> Date: Tue, 8 Dec 2020 22:13:18 +0100 Subject: [PATCH] Fix new colors being a little too green (#714) --- mods/ctf/ctf_map/ctf_map_core/schem_map.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mods/ctf/ctf_map/ctf_map_core/schem_map.lua b/mods/ctf/ctf_map/ctf_map_core/schem_map.lua index 1816f1b..55c3416 100644 --- a/mods/ctf/ctf_map/ctf_map_core/schem_map.lua +++ b/mods/ctf/ctf_map/ctf_map_core/schem_map.lua @@ -42,13 +42,13 @@ function minetest.get_server_status(name, joined) local str = map_str if name and minetest.get_player_by_name(name) then - str = minetest.colorize("#44FF44", str) + str = str end status = status .. "\n" .. str -- If player just joined, also display map hint if joined and ctf_map.map.hint then - status = status .. "\n" .. minetest.colorize("#22FF22", ctf_map.map.hint) + status = status .. "\n" .. minetest.colorize("#f49200", ctf_map.map.hint) end return status @@ -379,7 +379,8 @@ ctf_match.register_on_new_match(function() ctf_map.map = ctf_map.available_maps[idx] ctf_map.map.idx = idx - map_str = "Map: " .. ctf_map.map.name .. " by " .. ctf_map.map.author + map_str = (minetest.colorize("#fcdb05", "Map: ") .. minetest.colorize("#f49200", ctf_map.map.name) .. + minetest.colorize("#fcdb05", " by ") .. minetest.colorize ("#f49200", ctf_map.map.author)) -- Register per-map treasures, or the default set of treasures -- if treasures field hasn't been defined in map meta