diff --git a/webapp/services/CircuitRankingService.php b/webapp/services/CircuitRankingService.php index 86e0d11b..308361a1 100644 --- a/webapp/services/CircuitRankingService.php +++ b/webapp/services/CircuitRankingService.php @@ -213,7 +213,7 @@ class CircuitRankingService extends BaseService { for ($i = 0; $i < 200; ++$i) { array_push($sortRows, array( 'account_id' => $i, - 'cumulative_score' => 1000 - $i + 'cumulative_score' => 2000 - $i * 3 )); } } @@ -286,7 +286,7 @@ class CircuitRankingService extends BaseService { ), array( 'cumulative_score' => function() use($android, $newScore) { - $addScore = $android['cumulative_score'] - $newScore; + $addScore = $newScore - $android['cumulative_score']; return 'cumulative_score +' . $addScore; }, ),