Skip to content

Commit 64f41be

Browse files
Hide postfreeze balloons in total column
Fixes #3296
1 parent ec9b5ff commit 64f41be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

webapp/src/Service/BalloonService.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,12 @@ public function collectBalloonTable(Contest $contest, bool $todo = false): array
125125
continue;
126126
}
127127

128+
$stime = $balloonsData['submittime'];
129+
130+
if (isset($freezetime) && $stime >= $freezetime) {
131+
continue;
132+
}
133+
128134
$TOTAL_BALLOONS[$balloonsData['teamid']][$balloonsData['probshortname']] = $balloonsData[0]->getSubmission()->getContestProblem();
129135
}
130136

0 commit comments

Comments
 (0)