Skip to content

Commit

Permalink
fix: Fixed packing for screen overlays referenced by point_clientcommand
Browse files Browse the repository at this point in the history
  • Loading branch information
Exactol committed Mar 8, 2022
1 parent 0c99292 commit 4dd80c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CompilePalX/Compilers/BSPPack/BSP.cs
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ public void buildEntTextureList()
var match = Regex.Match(kv.Item2, @"r_screenoverlay ([^,]+),");
if(match.Success)
{
uniqueMats.Add(match.Groups[1].Value);
uniqueMats.Add(match.Groups[1].Value.Replace(".vmt", ""));
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion CompilePalX/Compilers/BSPPack/Pack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ public override void Run(CompileContext context)
if (fileListParam.Length <= 1 || string.IsNullOrWhiteSpace(fileListParam[1]))
{
CompilePalLogger.LogCompileError("No file list parameter set\n",
new Error("No file list parameterparameter set", ErrorSeverity.Error));
new Error("No file list parameter set", ErrorSeverity.Error));
continue;
}

Expand Down

0 comments on commit 4dd80c3

Please sign in to comment.