diff --git a/src/Application/Common/Resources/Messages.Designer.cs b/src/Application/Common/Resources/Messages.Designer.cs index 6f3e1028..d59393c4 100644 --- a/src/Application/Common/Resources/Messages.Designer.cs +++ b/src/Application/Common/Resources/Messages.Designer.cs @@ -376,7 +376,7 @@ internal static string OnFlagReturned { } /// - /// Looks up a localized string similar to {PlayerName} has brought the {RivalName} flag to the {TeamName} team's base. Point scored!. + /// Looks up a localized string similar to {PlayerName} has brought the {ColorName} flag to the {TeamName} team's base. Point scored!. /// internal static string OnFlagScore { get { diff --git a/src/Application/Common/Resources/Messages.resx b/src/Application/Common/Resources/Messages.resx index 49b81293..83359fe2 100644 --- a/src/Application/Common/Resources/Messages.resx +++ b/src/Application/Common/Resources/Messages.resx @@ -223,7 +223,7 @@ {PlayerName} has returned the {TeamName} team's {ColorName} flag to its base! Keep up the defense! - {PlayerName} has brought the {RivalName} flag to the {TeamName} team's base. Point scored! + {PlayerName} has brought the {ColorName} flag to the {TeamName} team's base. Point scored! {PlayerName} has taken the {TeamName} team's {ColorName} flag! Keep an eye on the score! diff --git a/src/Application/Teams/Flags/Events/OnFlagScore.cs b/src/Application/Teams/Flags/Events/OnFlagScore.cs index c83d8121..470e98f3 100644 --- a/src/Application/Teams/Flags/Events/OnFlagScore.cs +++ b/src/Application/Teams/Flags/Events/OnFlagScore.cs @@ -24,7 +24,7 @@ public void Handle(Team team, Player player) { PlayerName = player.Name, TeamName = team.Name, - RivalName = team.RivalTeam.ColorName + ColorName = team.RivalTeam.ColorName }); worldService.SendClientMessage(team.ColorHex, message); worldService.GameText($"~n~~n~~n~{team.GameText}{team.ColorName} team scores!", 5000, 3);