//=============================================================================
// ChallengeBotConfigMenu
//=============================================================================
class ChallengeBotConfigMenu expands UnrealBotConfigMenu
	localized;

function bool ProcessSelection()
{
	local Menu ChildMenu;

	if ( Selection == 4 )
	{
		ChildMenu = spawn(class'ChallengeIndivBotMenu', owner);
		UnrealIndivBotMenu(ChildMenu).InitConfig(GameType);
	}
	else if ( Selection == 7 )
	{
		ChildMenu = spawn(class'TeamSelectionMenu', owner);
		TeamSelectionMenu(ChildMenu).InitConfig(GameType);
	}
	else
		return Super.ProcessSelection();

	if ( ChildMenu != None )
	{
		HUD(Owner).MainMenu = ChildMenu;
		ChildMenu.ParentMenu = self;
		ChildMenu.PlayerOwner = PlayerOwner;
	}
	return true;
}

defaultproperties
{
	MenuLength=7
	HelpMessage(7)="Configure teams of bots."
	MenuList(7)="Configure Teams"
}
