added RespawnManager to Game
This commit is contained in:
@@ -42,6 +42,7 @@ RegisterBarotrauma("LevelTrigger")
|
|||||||
RegisterBarotrauma("DestructibleLevelWall")
|
RegisterBarotrauma("DestructibleLevelWall")
|
||||||
RegisterBarotrauma("Biome")
|
RegisterBarotrauma("Biome")
|
||||||
RegisterBarotrauma("Map")
|
RegisterBarotrauma("Map")
|
||||||
|
RegisterBarotrauma("Networking.RespawnManager")
|
||||||
|
|
||||||
RegisterBarotrauma("Character")
|
RegisterBarotrauma("Character")
|
||||||
RegisterBarotrauma("CharacterPrefab")
|
RegisterBarotrauma("CharacterPrefab")
|
||||||
|
|||||||
@@ -105,6 +105,18 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public RespawnManager RespawnManager
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
#if SERVER
|
||||||
|
return GameMain.Server.RespawnManager;
|
||||||
|
#else
|
||||||
|
return GameMain.Client.RespawnManager;
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public DynValue Settings;
|
public DynValue Settings;
|
||||||
|
|
||||||
public bool allowWifiChat = false;
|
public bool allowWifiChat = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user