Move audio muted/unmuted notifications to feedback pool
This commit is contained in:
committed by
Matthias Mailänder
parent
01d47566cc
commit
a680cae00c
@@ -29,12 +29,12 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
|||||||
if (Game.Settings.Sound.Mute)
|
if (Game.Settings.Sound.Mute)
|
||||||
{
|
{
|
||||||
Game.Sound.MuteAudio();
|
Game.Sound.MuteAudio();
|
||||||
TextNotificationsManager.AddSystemLine("Audio muted");
|
TextNotificationsManager.AddFeedbackLine("Audio muted");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Game.Sound.UnmuteAudio();
|
Game.Sound.UnmuteAudio();
|
||||||
TextNotificationsManager.AddSystemLine("Audio unmuted");
|
TextNotificationsManager.AddFeedbackLine("Audio unmuted");
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user