Update RankAuditionEntries.php

This commit is contained in:
Matt Young 2024-07-13 13:18:24 -05:00
parent 83ee56717d
commit fab34992df
1 changed files with 1 additions and 0 deletions

View File

@ -61,6 +61,7 @@ class RankAuditionEntries
$rank = 1; $rank = 1;
foreach ($entries as $entry) { foreach ($entries as $entry) {
$entry->rank = $rank; $entry->rank = $rank;
// We don't really get a rank for seating if we have certain flags
if ($mode === 'seating') { if ($mode === 'seating') {
if ($entry->hasFlag('declined')) { if ($entry->hasFlag('declined')) {
$entry->rank = 'Declined'; $entry->rank = 'Declined';