Reduce duplication of "Battlefield Control" chat line label
This commit is contained in:
committed by
Paul Chote
parent
3e2022a3dd
commit
1dd1786469
@@ -100,7 +100,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (info.SuppressNotifications)
|
||||
return;
|
||||
|
||||
Game.AddSystemLine("Battlefield Control", player.PlayerName + " is defeated.");
|
||||
Game.AddSystemLine(player.PlayerName + " is defeated.");
|
||||
Game.RunAfterDelay(info.NotificationDelay, () =>
|
||||
{
|
||||
if (Game.IsCurrentWorld(player.World) && player == player.World.LocalPlayer)
|
||||
@@ -113,7 +113,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (info.SuppressNotifications)
|
||||
return;
|
||||
|
||||
Game.AddSystemLine("Battlefield Control", player.PlayerName + " is victorious.");
|
||||
Game.AddSystemLine(player.PlayerName + " is victorious.");
|
||||
Game.RunAfterDelay(info.NotificationDelay, () =>
|
||||
{
|
||||
if (Game.IsCurrentWorld(player.World) && player == player.World.LocalPlayer)
|
||||
|
||||
Reference in New Issue
Block a user