Update calls to ctf_colors.get_color (#396)
MT-CTF/ctf_pvp_engine#35. Also update ctf_pvp_engine submodule.
This commit is contained in:
parent
fd1103390e
commit
8f78cd7644
4 changed files with 11 additions and 13 deletions
|
@ -2,11 +2,10 @@ local bountied_player = nil
|
|||
local bounty_score = 0
|
||||
|
||||
local function announce(name)
|
||||
local _, tcolor = ctf_colors.get_color(ctf.player(bountied_player))
|
||||
tcolor = tcolor:gsub("0x", "#")
|
||||
local tcolor = ctf_colors.get_color(ctf.player(bountied_player))
|
||||
minetest.chat_send_player(name,
|
||||
minetest.colorize("#fff326", "The next person to kill ") ..
|
||||
minetest.colorize(tcolor, bountied_player) ..
|
||||
minetest.colorize(tcolor.css, bountied_player) ..
|
||||
minetest.colorize("#fff326", " will receive " .. bounty_score .. " points!"))
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue