Skip to content

Commit

Permalink
Fix mistake in AssetUtils.cs (#250)
Browse files Browse the repository at this point in the history
  • Loading branch information
MAGNAT2645 authored Jan 18, 2025
1 parent 4d99219 commit d6e0a3d
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 @@ -590,7 +590,7 @@ public static (List<string>, List<string>, List<string>, List<string>, List<stri
includedScripts.Add(Path.Combine("scripts", "vscripts", functionParameters[0].Replace("\"", "").Trim()));
} else if (cleanStatement.Contains("PrecacheModel")) {
// pack precached models
includedSounds.Add(functionParameters[0].Replace("\"", "").Trim());
includedModels.Add(functionParameters[0].Replace("\"", "").Trim());
} else if (cleanStatement.Contains("PrecacheSound")) {
// pack precached sounds
includedSounds.Add(Path.Combine("sound", functionParameters[0].Replace("\"", "").Trim()));
Expand Down

0 comments on commit d6e0a3d

Please sign in to comment.