diff options
author | emkael <emkael@tlen.pl> | 2017-09-21 11:45:30 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-09-21 11:45:30 +0200 |
commit | 625fec8496401e2a9b02139d8e4c59967bfb0851 (patch) | |
tree | 125f83065def7efa261978821e8a0769e30dd2e7 /Aktywator | |
parent | 56a67148efedf13969f6d16286d28c8e77d6fa6c (diff) |
BUGFIX: finished segment when counter rolls over to the net round is reset to 1
Diffstat (limited to 'Aktywator')
-rw-r--r-- | Aktywator/TeamyTournament.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Aktywator/TeamyTournament.cs b/Aktywator/TeamyTournament.cs index 825cf84..7fb4f1c 100644 --- a/Aktywator/TeamyTournament.cs +++ b/Aktywator/TeamyTournament.cs @@ -73,6 +73,7 @@ namespace Aktywator segment[1]++; if (segment[1] > this.getSegmentsNum()) { segment[0]++; + segment[1] = 1; if (segment[0] > this.getRoundsNum()) { segment[0] = this.getRoundsNum(); |