mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
CServerHandler: one more small fix when server is crashed
This commit is contained in:
@@ -1121,6 +1121,7 @@ void CServerHandler::callServer()
|
||||
{
|
||||
logNetwork->error("Error: server failed to close correctly or crashed!");
|
||||
logNetwork->error("Check %s for more info", logName);
|
||||
serverAlive.setn(false);
|
||||
// TODO: make client return to main menu if server actually crashed during game.
|
||||
// exit(1);// exit in case of error. Othervice without working server VCMI will hang
|
||||
}
|
||||
|
Reference in New Issue
Block a user