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
@@ -48,7 +48,6 @@ namespace Barotrauma.Networking
public List<ChatMessage> chatMsgQueue = new List<ChatMessage>();
public UInt16 lastChatMsgQueueID;
//latest chat messages sent by this client
public List<string> lastSentChatMessages = new List<string>();
public float ChatSpamSpeed;
@@ -81,6 +80,8 @@ namespace Barotrauma.Networking
public ClientPermissions Permissions = ClientPermissions.None;
public bool SpectateOnly;
public Queue<Entity> PendingPositionUpdates
{
get { return pendingPositionUpdates; }