QTfrontend/hwform.cpp
changeset 6211 ee9465c0ea82
parent 6205 7764cbe4ddd7
child 6223 cc3eb9b7230f
equal deleted inserted replaced
6210:923c8414e3af 6211:ee9465c0ea82
   480     }
   480     }
   481 
   481 
   482     if (id == ID_PAGE_ROOMSLIST) {
   482     if (id == ID_PAGE_ROOMSLIST) {
   483         if (hwnet && game && game->gameState == gsStarted) { // abnormal exit - kick or room destruction - send kills.
   483         if (hwnet && game && game->gameState == gsStarted) { // abnormal exit - kick or room destruction - send kills.
   484             game->netSuspend = true;
   484             game->netSuspend = true;
   485             game->KillAllTeams();
   485             ui.pageRoomsList->displayWarning(tr("Game aborted"));
       
   486             game->abort();
   486         }
   487         }
   487     }
   488     }
   488 
   489 
   489     if (id == ID_PAGE_MULTIPLAYER || id == ID_PAGE_NETGAME) {
   490     if (id == ID_PAGE_MULTIPLAYER || id == ID_PAGE_NETGAME) {
   490         QStringList tmNames = config->GetTeamsList();
   491         QStringList tmNames = config->GetTeamsList();