Skip to content

Commit

Permalink
Fixed bug with packing .vsc soundscapes
Browse files Browse the repository at this point in the history
  • Loading branch information
Exactol committed Sep 27, 2020
1 parent fd13f8d commit 9ded0e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CompilePalX/Compilers/BSPPack/AssetUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,10 @@ public static void findBspUtilityFiles(BSP bsp, List<string> sourceDirectories,
{
bsp.soundscape = new KeyValuePair<string, string>(internalPath, externalPath);
break;
} else if (File.Exists(externalVscPath))
}
if (File.Exists(externalVscPath))
{
bsp.soundscape = new KeyValuePair<string, string>(internalPathVsc, externalPath);
bsp.soundscape = new KeyValuePair<string, string>(internalPathVsc, externalVscPath);
break;
}
}
Expand Down

0 comments on commit 9ded0e5

Please sign in to comment.