diff --git a/app/Actions/Tabulation/AllowForOlympicScoring.php b/app/Actions/Tabulation/AllowForOlympicScoring.php index 483088b..be88354 100644 --- a/app/Actions/Tabulation/AllowForOlympicScoring.php +++ b/app/Actions/Tabulation/AllowForOlympicScoring.php @@ -35,6 +35,10 @@ class AllowForOlympicScoring implements CalculateEntryScore public function calculate(string $mode, Entry $entry): array { + $calculated = CalculatedScore::where('entry_id', $entry->id)->where('mode', $mode)->first(); + if ($calculated) { + return $calculated->calculatedScore; + } $cacheKey = 'entryScore-'.$entry->id.'-'.$mode;