summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-09-21 11:45:30 +0200
committeremkael <emkael@tlen.pl>2017-09-21 11:45:30 +0200
commit625fec8496401e2a9b02139d8e4c59967bfb0851 (patch)
tree125f83065def7efa261978821e8a0769e30dd2e7
parent56a67148efedf13969f6d16286d28c8e77d6fa6c (diff)
BUGFIX: finished segment when counter rolls over to the net round is reset to 1
-rw-r--r--Aktywator/TeamyTournament.cs1
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();