Oops accidentally broke this check
This commit is contained in:
@@ -66,7 +66,7 @@ namespace Barotrauma
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!CanBeRegistered(typeName))
|
if (!CanBeRegistered(typeName) && !LuaUserData.IsRegistered(typeName))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user