diff --git a/admin/judges_sa.php b/admin/judges_sa.php index 2d82e699..d6f148de 100644 --- a/admin/judges_sa.php +++ b/admin/judges_sa.php @@ -878,6 +878,16 @@ function judges_sa_cost_function($annealer, $bucket_id, $ids) $j =& $judges[$ids[$x]]; $apref = 0; + /* Make sure this judge isn't on the team more than + * once. For S-A only judges, we duplicate the judge IDs + * so the judge can be scheduled on multiple teams */ + if($j['special_award_only'] == 'yes') { + for($i=0; $i