Skip to content

Commit

Permalink
Don't auto-finish flyer when a knockout play-off is finished
Browse files Browse the repository at this point in the history
  • Loading branch information
phrasmotica committed Apr 27, 2024
1 parent 9cc6828 commit 2c0030a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/views/PlayView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,7 @@ const finishPhase = () => {
throw "Failed to finish phase!"
}
if (isKnockout.value) {
// BUG: this should only happen if it's also the main phase
if (isKnockout.value && currentPhase.value.id === mainPhase.value?.id) {
flyerStore.finish(currentStandings.value)
}
Expand Down

0 comments on commit 2c0030a

Please sign in to comment.