diff --git a/source/main/main.cpp b/source/main/main.cpp index b77b4acc72..9aca7d2bdb 100644 --- a/source/main/main.cpp +++ b/source/main/main.cpp @@ -512,6 +512,10 @@ int main(int argc, char *argv[]) } else { + if (App::mp_state->GetEnum() == MpState::CONNECTED) + { + App::GetGameContext()->PushMessage(Message(MSG_NET_DISCONNECT_REQUESTED)); + } App::GetGuiManager()->SetVisible_LoadingWindow(false); failed_m = true; }