Fix new colors being a little too green (#714)
This commit is contained in:
parent
1683ba70a4
commit
6e04df9c4d
1 changed files with 4 additions and 3 deletions
|
@ -42,13 +42,13 @@ function minetest.get_server_status(name, joined)
|
||||||
|
|
||||||
local str = map_str
|
local str = map_str
|
||||||
if name and minetest.get_player_by_name(name) then
|
if name and minetest.get_player_by_name(name) then
|
||||||
str = minetest.colorize("#44FF44", str)
|
str = str
|
||||||
end
|
end
|
||||||
status = status .. "\n" .. str
|
status = status .. "\n" .. str
|
||||||
|
|
||||||
-- If player just joined, also display map hint
|
-- If player just joined, also display map hint
|
||||||
if joined and ctf_map.map.hint then
|
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
|
end
|
||||||
|
|
||||||
return status
|
return status
|
||||||
|
@ -379,7 +379,8 @@ ctf_match.register_on_new_match(function()
|
||||||
ctf_map.map = ctf_map.available_maps[idx]
|
ctf_map.map = ctf_map.available_maps[idx]
|
||||||
ctf_map.map.idx = 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
|
-- Register per-map treasures, or the default set of treasures
|
||||||
-- if treasures field hasn't been defined in map meta
|
-- if treasures field hasn't been defined in map meta
|
||||||
|
|
Loading…
Reference in a new issue