This commit is contained in:
Evil Factory
2021-08-10 23:34:07 -03:00
parent 694f7adcc6
commit 06f40fa368
4 changed files with 5 additions and 2 deletions
@@ -238,6 +238,8 @@ namespace Barotrauma
public static Submarine GetRespawnSub()
{
if (GameMain.Server.RespawnManager == null)
return null;
return GameMain.Server.RespawnManager.RespawnShuttle;
}
@@ -137,6 +137,8 @@ namespace Barotrauma
UserData.RegisterType<AttackResult>();
UserData.RegisterType<Entity>();
UserData.RegisterType<MapEntity>();
UserData.RegisterType<CauseOfDeath>();
UserData.RegisterType<CharacterTeamType>();
lua = new Script(CoreModules.Preset_SoftSandbox | CoreModules.LoadMethods);