Remove the requirement for a judge to only select one special award if they are SA only.

This commit is contained in:
dave 2009-03-29 05:54:22 +00:00
parent f39ffeced4
commit 29d2f5b333

View File

@ -165,8 +165,7 @@ function judges_cost_function($annealer, $bucket_id, $ids)
if(!$have_chair && $config['min_judges_per_team']>1)
$cost += 40;
/* Huge penalty for not having a round2 personal on the
* team */
/* Huge penalty for not having a round2 person on the team */
if($have_div2 == false)
$cost += 40;
@ -495,10 +494,9 @@ foreach($judges as &$j) {
if(mysql_num_rows($q) == 0) {
TRACE(" NO special award selected! (removing special award only request)\n");
$j['special_award_only'] = 'no';
} else if(mysql_num_rows($q) > 1) {
TRACE(" More than ONE special award selected (removing special award only request):\n");
$j['special_award_only'] = 'no';
// } else if(mysql_num_rows($q) > 1) {
// TRACE(" More than ONE special award selected (removing special award only request):\n");
// $j['special_award_only'] = 'no';
}
}