System messages should be yellow to distinguish them from normal
This commit is contained in:
@@ -77,7 +77,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (info.SuppressNotifications)
|
||||
return;
|
||||
|
||||
Game.AddChatLine(Color.White, "Battlefield Control", player.PlayerName + " is defeated.");
|
||||
Game.AddSystemLine("Battlefield Control", player.PlayerName + " is defeated.");
|
||||
Game.RunAfterDelay(info.NotificationDelay, () =>
|
||||
{
|
||||
if (Game.IsCurrentWorld(player.World) && player == player.World.LocalPlayer)
|
||||
@@ -90,7 +90,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
if (info.SuppressNotifications)
|
||||
return;
|
||||
|
||||
Game.AddChatLine(Color.White, "Battlefield Control", player.PlayerName + " is victorious.");
|
||||
Game.AddSystemLine("Battlefield Control", player.PlayerName + " is victorious.");
|
||||
Game.RunAfterDelay(info.NotificationDelay, () =>
|
||||
{
|
||||
if (Game.IsCurrentWorld(player.World) && player == player.World.LocalPlayer)
|
||||
|
||||
Reference in New Issue
Block a user