mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +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("Error: server failed to close correctly or crashed!");
|
||||||
logNetwork->error("Check %s for more info", logName);
|
logNetwork->error("Check %s for more info", logName);
|
||||||
|
serverAlive.setn(false);
|
||||||
// TODO: make client return to main menu if server actually crashed during game.
|
// 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
|
// exit(1);// exit in case of error. Othervice without working server VCMI will hang
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user