Skip to content

Commit

Permalink
Changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Jan 6, 2024
1 parent 8ab1acc commit 78e376e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HUDMerger/Models/HUD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1102,10 +1102,10 @@ void RemoveBaseSchemeValues(string folderPath, IEnumerable<string> baseFiles)

private static Action<IHUDFileWriterService>? MergeImages(IHUDFileReaderService reader, HUD source, HUD target, Dependencies dependencies)
{
IEnumerable<string> images = [..dependencies.PreloadImages, ..dependencies.Images];
IEnumerable<string> 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)
Expand Down

0 comments on commit 78e376e

Please sign in to comment.