From 535144b208dec52c2ebe0312555e663e8a50ce1f Mon Sep 17 00:00:00 2001 From: Ivaylo Draganov Date: Fri, 3 Jan 2020 14:51:12 +0200 Subject: [PATCH] Use system chat line for audio muted/unmuted notifications --- OpenRA.Mods.Common/Widgets/Logic/MuteHotkeyLogic.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Widgets/Logic/MuteHotkeyLogic.cs b/OpenRA.Mods.Common/Widgets/Logic/MuteHotkeyLogic.cs index 93c746eb5d..76e3e8d40c 100644 --- a/OpenRA.Mods.Common/Widgets/Logic/MuteHotkeyLogic.cs +++ b/OpenRA.Mods.Common/Widgets/Logic/MuteHotkeyLogic.cs @@ -30,12 +30,12 @@ namespace OpenRA.Mods.Common.Widgets.Logic if (Game.Settings.Sound.Mute) { Game.Sound.MuteAudio(); - Game.AddChatLine("Battlefield Control", Color.White, "Audio muted"); + Game.AddSystemLine("Battlefield Control", "Audio muted"); } else { Game.Sound.UnmuteAudio(); - Game.AddChatLine("Battlefield Control", Color.White, "Audio unmuted"); + Game.AddSystemLine("Battlefield Control", "Audio unmuted"); } return true;