From 64806a32d75676bdd6c2ada7f2e1958078b7527f Mon Sep 17 00:00:00 2001 From: philipmi Date: Fri, 4 Feb 2022 16:37:45 +0100 Subject: [PATCH] Modify leave message --- mods/ctf/ctf_leave_message/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ctf/ctf_leave_message/init.lua b/mods/ctf/ctf_leave_message/init.lua index c2b185d..da6309d 100644 --- a/mods/ctf/ctf_leave_message/init.lua +++ b/mods/ctf/ctf_leave_message/init.lua @@ -2,7 +2,7 @@ function minetest.send_leave_message(player_name, timed_out) local player = ctf.player(player_name) 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 announcement = announcement .. " (timed out)" end