mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 06:31:48 +00:00
eda236522c
The NetClient runs in the main thread, so any part of the loading screen consuming several seconds makes that client timeout. This is a workaround because threading the NetClient would have prevent these timeouts, refs #3700. Coutnerintuitively, since enet timeout tolerance is proportional to the latency, the better the connection of the player, the more likely it was to drop on gamestart. This problem became very frequent in Alpha 23, at least due to the Aura bugfix583b6ec625, AIInterface being particularly slow and that not having been disabled yet in the loading screen resulting in additional 10 second freezes during the loading screen, even on empty maps, refs #5200,8e168f85e6. Differential Revision: https://code.wildfiregames.com/D1513 Based on patch by: causative This was SVN commit r21842.