Fixed asm mods not being considered when prompting the user
This commit is contained in:
@@ -19,7 +19,7 @@ namespace Barotrauma
|
|||||||
List<ContentPackage> csharpMods = new List<ContentPackage>();
|
List<ContentPackage> csharpMods = new List<ContentPackage>();
|
||||||
foreach (ContentPackage cp in ContentPackageManager.EnabledPackages.All)
|
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);
|
csharpMods.Add(cp);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user