Allow the player to toggle the display of UI Feedback chat pool

This commit is contained in:
Ivaylo Draganov
2020-02-29 22:37:27 +02:00
committed by Paul Chote
parent 6af354ff99
commit 2ea6bfba7b
5 changed files with 42 additions and 3 deletions

View File

@@ -61,10 +61,12 @@ namespace OpenRA
static bool IsPoolEnabled(TextNotificationPool pool)
{
var filters = Game.Settings.Game.TextNotificationPoolFilters;
return pool == TextNotificationPool.Chat ||
pool == TextNotificationPool.System ||
pool == TextNotificationPool.Mission ||
pool == TextNotificationPool.Feedback;
(pool == TextNotificationPool.Feedback && filters.HasFlag(TextNotificationPoolFilters.Feedback));
}
}
}