1
Fork 0

Tournament table: fix the determination of rounds.

master
vonavi 2014-03-19 22:11:48 +02:00
parent 71d4f13873
commit 43134b3fbd
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ module LORChess
def fill_results
@@db_results.each do |tour|
# zero-based round
round = (tour['number'] - 1).div(@@dim)
round = (tour['number'] - 1).div(@@dim - 1)
tour['games'].each do |game|
import game, round