Option for clients to spectate the game without respawning

This commit is contained in:
Joonas Rikkonen
2017-09-25 21:30:55 +03:00
parent 5eb1544f1e
commit f127c410b0
6 changed files with 77 additions and 49 deletions
@@ -314,6 +314,7 @@ namespace Barotrauma.Networking
allowSpecBox.OnSelected = (GUITickBox) =>
{
AllowSpectating = GUITickBox.Selected;
GameMain.NetLobbyScreen.LastUpdateID++;
return true;
};