diff options
author | emkael <emkael@tlen.pl> | 2017-09-20 18:31:13 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-09-20 18:31:13 +0200 |
commit | cf3b807f18c5cf73e9defaabe31b72ea41d0d1ca (patch) | |
tree | 33060e3e4e6c6ed53af8a5ceaeb969595345f68f /Aktywator/TeamyTournament.cs | |
parent | 84d46db52fe6b9a215720f28f4efd7004bc08d76 (diff) |
Fixing current round/segment load in tournaments which did not start yet at all
Diffstat (limited to 'Aktywator/TeamyTournament.cs')
-rw-r--r-- | Aktywator/TeamyTournament.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Aktywator/TeamyTournament.cs b/Aktywator/TeamyTournament.cs index 990583f..825cf84 100644 --- a/Aktywator/TeamyTournament.cs +++ b/Aktywator/TeamyTournament.cs @@ -79,6 +79,14 @@ namespace Aktywator segment[1] = this.getSegmentsNum(); } } + if (segment[0] < 1) + { + segment[0] = 1; + } + if (segment[1] < 1) + { + segment[1] = 1; + } finished.Close(); return segment; } |