From 6f74fbd43c602094ad162a7e7e99e9a106ded5d0 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sat, 9 Nov 2024 14:23:57 +0800 Subject: [PATCH] 1 --- webapp/services/CircuitRankingService.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/webapp/services/CircuitRankingService.php b/webapp/services/CircuitRankingService.php index 9f043145..06a57059 100644 --- a/webapp/services/CircuitRankingService.php +++ b/webapp/services/CircuitRankingService.php @@ -304,10 +304,7 @@ class CircuitRankingService extends BaseService { 'phase' => $currentStageMeta['circuit_phase'], ), array( - 'cumulative_score' => function() use($android, $newScore) { - $addScore = $android['cumulative_score'] - $newScore; - return 'cumulative_score +' . $addScore; - }, + 'cumulative_score' => $newScore ) ); }