Skip to content

Commit

Permalink
Add VMT $detail VTFs
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Jan 4, 2024
1 parent b3369c9 commit 7fe1f63
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 @@ -1116,7 +1116,7 @@ void RemoveBaseSchemeValues(string folderPath, IEnumerable<string> baseFiles)
dependencies.Files.UnionWith(
vmt
.Header()
.Where((kv) => kv.Key.Equals("$baseTexture", StringComparison.OrdinalIgnoreCase))
.Where((kv) => kv.Key.Equals("$baseTexture", StringComparison.OrdinalIgnoreCase) || kv.Key.Equals("$detail", StringComparison.OrdinalIgnoreCase))
.Select((kv) => kv.Value)
.OfType<string>()
.Select((value) => $"materials\\{value}{(value.EndsWith(".vtf") ? "" : ".vtf")}")
Expand Down

0 comments on commit 7fe1f63

Please sign in to comment.