equal
deleted
inserted
replaced
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(); |