Skip to content

Commit

Permalink
Ignore MergeSourceScheme if Source Scheme panel is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Jan 6, 2024
1 parent 1d9aab0 commit d2a4ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/HUDMerger/Models/HUD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ If the value is a string select the string value

private static Action<IHUDFileWriterService>? MergeSourceScheme(IHUDFileReaderService reader, HUD source, HUD target, Dependencies dependencies)
{
if (!dependencies.SourceScheme.Any())
if (!dependencies.SourceScheme.Any() || dependencies.Files.Contains("resource\\sourcescheme.res"))
{
return null;
}
Expand Down

0 comments on commit d2a4ac5

Please sign in to comment.