Skip to content

Commit

Permalink
Fixed issue with packing radar .dds files which were referenced with …
Browse files Browse the repository at this point in the history
…_radar
  • Loading branch information
Exactol committed Nov 11, 2019
1 parent 49a0d86 commit 4381c4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CompilePalX/Compilers/BSPPack/AssetUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ public static List<string> findRadarDdsFiles(string fullpath)
List<string> DDSs = new List<string>();
foreach (string line in File.ReadAllLines(fullpath))
{
string param = line.Replace("\"", " ").Replace("\t", " ").Trim();
string param = line.Replace("\"", " ").Replace("\t", " ").Replace("_radar", "").Trim();
if (param.StartsWith("material "))
{
DDSs.Add("resource/" + vmtPathParser(param) + "_radar.dds");
Expand Down

0 comments on commit 4381c4b

Please sign in to comment.