<?php

require(ENGINE.'Default/alliance_option.php');

if ($player->isDraftLeader()) {
	$container['body'] = 'alliance_pick.php';
	$links[] = array(
		'link' => create_link($container, 'Pick Members'),
		'text' => 'Draft players into your alliance.',
	);
}

$template->assign('Links', $links);

<?php

require(ENGINE.'Default/alliance_option.php');

if ($player->isDraftLeader()) {
	$container['body'] = 'alliance_pick.php';
	$links[] = array(
		'link' => create_link($container, 'Pick Members'),
		'text' => 'Draft players into your alliance.',
	);

	// Reset Links with the added Draft option
	$template->unassign('Links');
	$template->assign('Links', $links);
}

Fix template assignment in Draft games
Fix template assignment in Draft games

As of 171db587bd2cb5, we are no longer allowed to redefine template
variables. In this case, we want to redefine `Links` (because we're
adding a Draft-specific link), so explicitly unset it before defining
it again.
