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

@@ -11,6 +11,11 @@ namespace Barotrauma.Networking
{
private List<ServerEntityEvent> events;
public List<ServerEntityEvent> Events
{
get { return events; }
}
private UInt32 ID;
private GameServer server;