Polish Actor Categories

This commit is contained in:
rob-v
2017-07-05 19:39:10 +00:00
committed by reaperrr
parent aab9dfcaa0
commit 1a546d9baf
9 changed files with 42 additions and 8 deletions

View File

@@ -137,6 +137,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
void InitializeActorPreviews()
{
panel.RemoveChildren();
if (!selectedCategories.Any())
return;
var actors = mapRules.Actors.Where(a => !a.Value.Name.Contains('^'))
.Select(a => a.Value);