Modify leave message
This commit is contained in:
parent
c84caa7198
commit
64806a32d7
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ function minetest.send_leave_message(player_name, timed_out)
|
||||||
local player = ctf.player(player_name)
|
local player = ctf.player(player_name)
|
||||||
local tcolor = ctf_colors.get_color(player).css
|
local tcolor = ctf_colors.get_color(player).css
|
||||||
|
|
||||||
local announcement = "*** " .. minetest.colorize(tcolor, player_name) .. " left the game."
|
local announcement = "*** " .. player_name .. " (team " .. minetest.colorize(tcolor, player.team) .. ") left the game."
|
||||||
if timed_out then
|
if timed_out then
|
||||||
announcement = announcement .. " (timed out)"
|
announcement = announcement .. " (timed out)"
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue