summaryrefslogtreecommitdiff
path: root/lib/scheduling/elimination.rb
diff options
context:
space:
mode:
authorguntasgrewal <guntasgrewal@gmail.com>2014-04-24 17:58:22 -0400
committerguntasgrewal <guntasgrewal@gmail.com>2014-04-24 17:58:22 -0400
commit76ee2a59964be6707cab25053697a2d848bbcd52 (patch)
treed9e815057b04cfb3af2b0c98ca3c2d1c808c4f3b /lib/scheduling/elimination.rb
parent7fe1894becda038c3e85ba179dc27ce3b54690dc (diff)
parent976325f60e7706e480f3d45848897200734c8485 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'lib/scheduling/elimination.rb')
-rw-r--r--lib/scheduling/elimination.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/scheduling/elimination.rb b/lib/scheduling/elimination.rb
index ca48f14..e66a29a 100644
--- a/lib/scheduling/elimination.rb
+++ b/lib/scheduling/elimination.rb
@@ -32,7 +32,7 @@ module Scheduling
# if the match is full, move to the next match, otherwise move to the next team
if (team_num == self.tournament.min_teams_per_match)
match_num -= 1
- team_num = 0
+ team_num = 1
else
team_num += 1
end