Fix: crash to desktop when attempting to join a company while not joined (yet)
(cherry picked from commit 0f25eaa271
)
# Conflicts:
# src/console_cmds.cpp
This commit is contained in:

committed by
Jonathan G Rennison

parent
d21369b258
commit
a12f166815
@@ -812,6 +812,7 @@ public:
|
||||
void OnConnect(SOCKET s) override
|
||||
{
|
||||
_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