mirror of https://github.com/OpenTTD/OpenTTD
(svn r12367) -Fix [FS#1650](r707): commands were sent to clients waiting for map download causing 'executing command from the past' error
parent
f8bae50bf5
commit
5db7288ea9
|
@ -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 */
|
/* And we queue it for delivery to the clients */
|
||||||
NetworkTCPSocketHandler *cs;
|
NetworkTCPSocketHandler *cs;
|
||||||
FOR_ALL_CLIENTS(cs) {
|
FOR_ALL_CLIENTS(cs) {
|
||||||
if (cs->status > STATUS_AUTH) NetworkAddCommandQueue(cs, &c);
|
if (cs->status > STATUS_MAP_WAIT) NetworkAddCommandQueue(cs, &c);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue