added RespawnManager to Game

This commit is contained in:
EvilFactory
2022-08-14 10:54:50 -03:00
parent 52cb7ecfd7
commit 53b92e3a44
2 changed files with 13 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ RegisterBarotrauma("LevelTrigger")
RegisterBarotrauma("DestructibleLevelWall")
RegisterBarotrauma("Biome")
RegisterBarotrauma("Map")
RegisterBarotrauma("Networking.RespawnManager")
RegisterBarotrauma("Character")
RegisterBarotrauma("CharacterPrefab")

View File

@@ -104,6 +104,18 @@ namespace Barotrauma
#endif
}
}
public RespawnManager RespawnManager
{
get
{
#if SERVER
return GameMain.Server.RespawnManager;
#else
return GameMain.Client.RespawnManager;
#endif
}
}
public DynValue Settings;