Skip to content

Commit 20525cd

Browse files
committed
Tokens system "first half" rule tweak from < to <=.
1 parent c0bdf1c commit 20525cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html.srou/www/lm2/stands.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ function ukgplS18tokensForOneGroup($championship, $event_group, $scoring_scheme,
744744
}
745745

746746
if (!array_key_exists($row['member'], $balances)) {
747-
$balances[$row['member']] = -$row['max_tokens'] * ($eventIndex < $events / 2 ? 2 : 1); // Initial allocation
747+
$balances[$row['member']] = -$row['max_tokens'] * ($eventIndex <= $events / 2 ? 2 : 1); // Initial allocation
748748
}
749749
$row['preBALANCE'] = $balances[$row['member']];
750750
$balances[$row['member']] += 10; // Starting bonus.

0 commit comments

Comments
 (0)