mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Fix ctf flag take message always saying blue team. (Thanks VenkSociety)
This commit is contained in:
parent
e7d57713ec
commit
8de13619fc
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user