mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
CServerHandler: one more small fix when server is crashed
This commit is contained in:
parent
9c7c47c754
commit
c3e6195cc9
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user