Use system chat line for audio muted/unmuted notifications
This commit is contained in:
committed by
Paul Chote
parent
439cd4aded
commit
535144b208
@@ -30,12 +30,12 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
if (Game.Settings.Sound.Mute)
|
if (Game.Settings.Sound.Mute)
|
||||||
{
|
{
|
||||||
Game.Sound.MuteAudio();
|
Game.Sound.MuteAudio();
|
||||||
Game.AddChatLine("Battlefield Control", Color.White, "Audio muted");
|
Game.AddSystemLine("Battlefield Control", "Audio muted");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Game.Sound.UnmuteAudio();
|
Game.Sound.UnmuteAudio();
|
||||||
Game.AddChatLine("Battlefield Control", Color.White, "Audio unmuted");
|
Game.AddSystemLine("Battlefield Control", "Audio unmuted");
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user