diff --git a/src/HUDMerger/Models/HUD.cs b/src/HUDMerger/Models/HUD.cs index 0534e9a..b5e41b9 100644 --- a/src/HUDMerger/Models/HUD.cs +++ b/src/HUDMerger/Models/HUD.cs @@ -1102,10 +1102,10 @@ void RemoveBaseSchemeValues(string folderPath, IEnumerable baseFiles) private static Action? MergeImages(IHUDFileReaderService reader, HUD source, HUD target, Dependencies dependencies) { - IEnumerable images = [..dependencies.PreloadImages, ..dependencies.Images]; + IEnumerable images = dependencies.Images.Concat(dependencies.PreloadImages); reader.Require([ - ..images.Select((image) => (source, $"{image}.vmt", FileType.VDF) ), + ..images.Select((image) => (source, $"{image}.vmt", FileType.VDF)), ]); foreach (string image in images)