Fixed asm mods not being considered when prompting the user

This commit is contained in:
EvilFactory
2023-10-25 14:26:47 -03:00
parent 9a7ddd2e18
commit 79dd55836f

View File

@@ -19,7 +19,7 @@ namespace Barotrauma
List<ContentPackage> csharpMods = new List<ContentPackage>();
foreach (ContentPackage cp in ContentPackageManager.EnabledPackages.All)
{
if (Directory.Exists(cp.Dir + "/CSharp"))
if (Directory.Exists(cp.Dir + "/CSharp") || Directory.Exists(cp.Dir + "/bin"))
{
csharpMods.Add(cp);
}