forked from science-ation/science-ation
Remove the requirement for a judge to only select one special award if they are SA only.
This commit is contained in:
parent
f39ffeced4
commit
29d2f5b333
@ -165,8 +165,7 @@ function judges_cost_function($annealer, $bucket_id, $ids)
|
|||||||
if(!$have_chair && $config['min_judges_per_team']>1)
|
if(!$have_chair && $config['min_judges_per_team']>1)
|
||||||
$cost += 40;
|
$cost += 40;
|
||||||
|
|
||||||
/* Huge penalty for not having a round2 personal on the
|
/* Huge penalty for not having a round2 person on the team */
|
||||||
* team */
|
|
||||||
if($have_div2 == false)
|
if($have_div2 == false)
|
||||||
$cost += 40;
|
$cost += 40;
|
||||||
|
|
||||||
@ -495,10 +494,9 @@ foreach($judges as &$j) {
|
|||||||
if(mysql_num_rows($q) == 0) {
|
if(mysql_num_rows($q) == 0) {
|
||||||
TRACE(" NO special award selected! (removing special award only request)\n");
|
TRACE(" NO special award selected! (removing special award only request)\n");
|
||||||
$j['special_award_only'] = 'no';
|
$j['special_award_only'] = 'no';
|
||||||
} else if(mysql_num_rows($q) > 1) {
|
// } else if(mysql_num_rows($q) > 1) {
|
||||||
TRACE(" More than ONE special award selected (removing special award only request):\n");
|
// TRACE(" More than ONE special award selected (removing special award only request):\n");
|
||||||
$j['special_award_only'] = 'no';
|
// $j['special_award_only'] = 'no';
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user