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 | |
parent | 84d46db52fe6b9a215720f28f4efd7004bc08d76 (diff) |
Fixing current round/segment load in tournaments which did not start yet at all
Diffstat (limited to 'Aktywator')
-rw-r--r-- | Aktywator/Resources/BuildDate.txt | 2 | ||||
-rw-r--r-- | Aktywator/TeamyTournament.cs | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Aktywator/Resources/BuildDate.txt b/Aktywator/Resources/BuildDate.txt index fd33c7a..837d0f1 100644 --- a/Aktywator/Resources/BuildDate.txt +++ b/Aktywator/Resources/BuildDate.txt @@ -1 +1 @@ -2017-09-19 +2017-09-20 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; } |