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;
|
break;
|
||||||
case PA_MENU_SELECT:
|
case PA_MENU_SELECT:
|
||||||
{
|
{
|
||||||
if (!bt_continue->isFocusedForPlayer(PLAYER_ID_GAME_MASTER))
|
if (!bt_continue->isFocusedForPlayer(PLAYER_ID_GAME_MASTER) || areAllKartsConfirmed())
|
||||||
return result;
|
return result;
|
||||||
|
|
||||||
// Confirm team selection
|
// Confirm team selection
|
||||||
@ -214,6 +214,7 @@ GUIEngine::EventPropagation SoccerSetupScreen::filterActions( PlayerAction acti
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
result = EVENT_BLOCK;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case PA_MENU_CANCEL:
|
case PA_MENU_CANCEL:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user