Fix ctf flag take message always saying blue team. (Thanks VenkSociety)

This commit is contained in:
UnknownShadow200 2017-10-23 16:22:27 +11:00
parent e7d57713ec
commit 8de13619fc

View File

@ -243,7 +243,7 @@ namespace MCGalaxy.Games {
/// <summary> Called when the given player takes the opposing team's flag. </summary>
public void TakeFlag(Player p, CtfTeam2 team) {
CtfTeam2 opposing = Opposing(team);
Chat.MessageLevel(Map, team.Color + p.DisplayName + " took the " + Blue.ColoredName + " %Steam's FLAG");
Chat.MessageLevel(Map, team.Color + p.DisplayName + " took the " + opposing.ColoredName + " %Steam's FLAG");
Get(p).hasflag = true;
}