diff --git a/admin/judges_sa.php b/admin/judges_sa.php index 78d0ed4..3538bb4 100644 --- a/admin/judges_sa.php +++ b/admin/judges_sa.php @@ -183,9 +183,10 @@ function judges_cost_function($annealer, $bucket_id, $ids) if(!in_array($l, $j['languages'])) $cost += 25; } } - /* Huge penalty for a team without a willing chair */ - if(!$have_chair) $cost += 40; - + /* Huge penalty for a team without a willing chair, but only if the min judges per team >1 */ + if(!$have_chair && $config['min_judges_per_team']>1) + $cost += 40; + // TRACE("Team $bucket_id, cost is $cost\n"); return $cost;