Fixed small bug in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8704ea70e0
commit
8eac1d5971
@ -201,7 +201,7 @@ GUIEngine::EventPropagation SoccerSetupScreen::filterActions( PlayerAction acti
|
||||
break;
|
||||
case PA_MENU_SELECT:
|
||||
{
|
||||
if (!bt_continue->isFocusedForPlayer(PLAYER_ID_GAME_MASTER))
|
||||
if (!bt_continue->isFocusedForPlayer(PLAYER_ID_GAME_MASTER) || areAllKartsConfirmed())
|
||||
return result;
|
||||
|
||||
// Confirm team selection
|
||||
@ -214,6 +214,7 @@ GUIEngine::EventPropagation SoccerSetupScreen::filterActions( PlayerAction acti
|
||||
break;
|
||||
}
|
||||
}
|
||||
result = EVENT_BLOCK;
|
||||
break;
|
||||
}
|
||||
case PA_MENU_CANCEL:
|
||||
|
Loading…
Reference in New Issue
Block a user