hide startbutton, kickbutton, addComputerOpponents checkbox for ranking game mode
This commit is contained in:
1 parent
6c2c4eaaeb
commit
a7f4d033e2
1 file changed
+5
-1
@@ -698,7 +698,11 @@ void gameLobbyDialogImpl::clearDialog()
|
||||
|
||||
void gameLobbyDialogImpl::checkPlayerQuantity() {
|
||||
|
||||
if(isGameAdministrator){
|
||||
assert(mySession);
|
||||
GameInfo info(mySession->getClientGameInfo(mySession->getClientCurrentGameId()));
|
||||
|
||||
if(isGameAdministrator && info.data.gameType != GAME_TYPE_RANKING){
|
||||
|
||||
pushButton_Kick->show();
|
||||
pushButton_StartGame->show();
|
||||
checkBox_fillUpWithComputerOpponents->show();
|
||||
|
||||
Reference in new issue
Block a user