equal
deleted
inserted
replaced
545 if ((!hwnet) || (!hwnet->isInRoom())) |
545 if ((!hwnet) || (!hwnet->isInRoom())) |
546 if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME) |
546 if (id == ID_PAGE_NETGAME || id == ID_PAGE_NETGAME) |
547 GoBack(); |
547 GoBack(); |
548 |
548 |
549 if (curid == ID_PAGE_ROOMSLIST) NetDisconnect(); |
549 if (curid == ID_PAGE_ROOMSLIST) NetDisconnect(); |
550 if (curid == ID_PAGE_NETGAME && (!game || game->gameState != gsStarted)) hwnet->partRoom(); |
550 if (curid == ID_PAGE_NETGAME) hwnet->partRoom(); |
|
551 // need to work on this, can cause invalid state for admin quit trying to prevent bad state message on kick |
|
552 //if (curid == ID_PAGE_NETGAME && (!game || game->gameState != gsStarted)) hwnet->partRoom(); |
551 |
553 |
552 if (curid == ID_PAGE_SCHEME) |
554 if (curid == ID_PAGE_SCHEME) |
553 ammoSchemeModel->Save(); |
555 ammoSchemeModel->Save(); |
554 } |
556 } |
555 |
557 |