mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-31 10:29:10 +00:00
Fix: crash to desktop when attempting to join a company while not joined (yet)
This commit is contained in:
@@ -746,6 +746,7 @@ public:
|
||||
Debug(net, 9, "Client::OnConnect(): connection_string={}", this->connection_string);
|
||||
|
||||
_networking = true;
|
||||
_network_own_client_id = ClientID{};
|
||||
new ClientNetworkGameSocketHandler(s, this->connection_string);
|
||||
IConsoleCmdExec("exec scripts/on_client.scr 0");
|
||||
NetworkClient_Connected();
|
||||
|
Reference in New Issue
Block a user