Fix RCS1080

This commit is contained in:
RoosterDragon
2023-03-18 12:48:59 +00:00
committed by Gustas
parent 06aa378dfd
commit ce39e97b86
3 changed files with 5 additions and 3 deletions

View File

@@ -38,7 +38,7 @@ namespace OpenRA.UtilityCommands
.ToDictionary(
t => t.Name[..^6],
t => t.GetFields().Where(f => f.HasAttribute<TranslationReferenceAttribute>()).Select(f => f.Name).ToArray())
.Where(t => t.Value.Any())
.Where(t => t.Value.Length > 0)
.ToDictionary(t => t.Key, t => t.Value);
var chromeLayouts = modData.Manifest.ChromeLayout.GroupBy(c => c.Split('/')[0].Split('|')[0], c => c);