Fix team name in bounty announcement
It was set to the message receiver's color instead of the bounty holder's color.
This commit is contained in:
parent
469347f716
commit
ead8366790
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ local bountied_player = nil
|
||||||
local bounty_score = 0
|
local bounty_score = 0
|
||||||
|
|
||||||
local function announce(name)
|
local function announce(name)
|
||||||
local _, tcolor = ctf_colors.get_color(name, ctf.player(name))
|
local _, tcolor = ctf_colors.get_color(bountied_player, ctf.player(bountied_player))
|
||||||
tcolor = tcolor:gsub("0x", "#")
|
tcolor = tcolor:gsub("0x", "#")
|
||||||
minetest.chat_send_player(name,
|
minetest.chat_send_player(name,
|
||||||
minetest.colorize("#fff326", "The next person to kill ") ..
|
minetest.colorize("#fff326", "The next person to kill ") ..
|
||||||
|
|
Loading…
Reference in a new issue