mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-12 01:04:55 +00:00
(svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error
This commit is contained in:
@@ -79,7 +79,7 @@ void NetworkSend_Command(TileIndex tile, uint32 p1, uint32 p2, uint32 cmd, Comma
|
||||
/* And we queue it for delivery to the clients */
|
||||
NetworkTCPSocketHandler *cs;
|
||||
FOR_ALL_CLIENTS(cs) {
|
||||
if (cs->status > STATUS_AUTH) NetworkAddCommandQueue(cs, &c);
|
||||
if (cs->status > STATUS_MAP_WAIT) NetworkAddCommandQueue(cs, &c);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user