1
0
Fork 0

Change: send network error to the server before making an emergency save (#8387)

pull/8354/head
Pavel Stupnikov 2020-12-16 23:23:12 +03:00 committed by GitHub
parent 88f30f7fe7
commit d989fb516b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -217,10 +217,11 @@ void ClientNetworkGameSocketHandler::ClientError(NetworkRecvStatus res)
SendError(errorno);
}
this->CloseConnection(res);
ClientNetworkEmergencySave();
_switch_mode = SM_MENU;
this->CloseConnection(res);
_networking = false;
}