1
0
forked from mirrors/0ad
Files
0ad/source/network
elexis 2ccd10e566 Fix missing returns after disconnect in 95179c5e46.
Patch by @elexis.

The package sent in fa85527baf / #2420 plus this missing return causes the NetServerTurnManager
to be stalled forever if a client succeeds to send this package on disconnect.

In NotifyFinishedClientCommands, Disconnect calls OnDisconnect calls UninitialiseClient calls m_ClientsData.erase,
but then m_ClientsData[client].readyTurn = turn; reinserts the disconnected client, making the turnmanager wait forever for the disconnected client.

refs https://wildfiregames.com/forum/topic/134742-bug-game-incredibly-slowfreeze-at-start-because-because-of-1-player/
2025-10-12 12:39:41 +02:00
..
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00
2025-07-23 18:18:47 +02:00