fix names
This commit is contained in:
@@ -43,7 +43,7 @@ namespace Barotrauma
|
||||
{
|
||||
foreach (ContentPackage package in ContentPackageManager.LocalPackages)
|
||||
{
|
||||
if (package.NameMatches(new Identifier("LuaForBarotraumaUnstable")))
|
||||
if (package.NameMatches(new Identifier("LuaCsForBarotraumaUnstable")))
|
||||
{
|
||||
return package;
|
||||
}
|
||||
@@ -51,7 +51,7 @@ namespace Barotrauma
|
||||
|
||||
foreach (ContentPackage package in ContentPackageManager.AllPackages)
|
||||
{
|
||||
if (package.NameMatches(new Identifier("LuaForBarotraumaUnstable")))
|
||||
if (package.NameMatches(new Identifier("LuaCsForBarotraumaUnstable")))
|
||||
{
|
||||
return package;
|
||||
}
|
||||
@@ -373,7 +373,7 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
|
||||
ContentPackage luaPackage = GetPackage();
|
||||
ContentPackage luaCsPackage = GetPackage();
|
||||
|
||||
if (File.Exists(LUASETUP_FILE))
|
||||
{
|
||||
@@ -386,9 +386,9 @@ namespace Barotrauma
|
||||
HandleException(e);
|
||||
}
|
||||
}
|
||||
else if (luaPackage != null)
|
||||
else if (luaCsPackage != null)
|
||||
{
|
||||
string path = Path.GetDirectoryName(luaPackage.Path);
|
||||
string path = Path.GetDirectoryName(luaCsPackage.Path);
|
||||
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user