mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r15529) -Fix [FS#2644]: the local command queue didn't get properly cleaned when leaving a game meaning you could end up executing commands of the previous network game.
This commit is contained in:
parent
ef67e59145
commit
c5677da94d
|
@ -619,6 +619,8 @@ static void NetworkClose()
|
|||
_networking = false;
|
||||
_network_server = false;
|
||||
|
||||
NetworkFreeLocalCommandQueue();
|
||||
|
||||
free(_network_company_states);
|
||||
_network_company_states = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue