Server ignores UPDATE_INGAME messages if the game isn't running, server doesn't set any of the clients' lastRecvIDs above the ID of the latest chatMsg/event/etc (clients can't have received something the server hasn't sent yet)

This commit is contained in:
Regalis
2017-01-13 18:07:00 +02:00
parent fecb7bee9a
commit 9b03b2bcc1
4 changed files with 38 additions and 8 deletions

View File

@@ -201,7 +201,8 @@ namespace Barotrauma.Networking
unauthenticatedClients.Remove(unauthClient);
unauthClient = null;
ConnectedClients.Add(newClient);
return;
AddChatMessage(clName+" has joined the server.", ChatMessageType.Server);
}
}
}