Replace "Debug" prefix with "Battlefield Control" for mute messages.
This commit is contained in:
@@ -369,12 +369,12 @@ namespace OpenRA.Mods.Common.Widgets
|
|||||||
if (Game.Settings.Sound.Mute)
|
if (Game.Settings.Sound.Mute)
|
||||||
{
|
{
|
||||||
Game.Sound.MuteAudio();
|
Game.Sound.MuteAudio();
|
||||||
Game.Debug("Audio muted");
|
Game.AddChatLine(Color.White, "Battlefield Control", "Audio muted");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Game.Sound.UnmuteAudio();
|
Game.Sound.UnmuteAudio();
|
||||||
Game.Debug("Audio unmuted");
|
Game.AddChatLine(Color.White, "Battlefield Control", "Audio unmuted");
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user