fix results screen for final tournament match

This commit is contained in:
Martin Michelsen
2022-12-08 17:30:24 -08:00
parent 93f42a9398
commit 5f04cbaecb
5 changed files with 24 additions and 9 deletions
+4
View File
@@ -345,6 +345,10 @@ shared_ptr<Tournament::Match> Tournament::next_match_for_team(
return nullptr;
}
shared_ptr<Tournament::Match> Tournament::get_final_match() const {
return this->final_match;
}
void Tournament::start() {
if (this->current_state != State::REGISTRATION) {
throw runtime_error("tournament has already started");