Unverified Commit 5b5a6c2c authored by Maxim Ivanov's avatar Maxim Ivanov Committed by GitHub
Browse files

Fix CountMultiple rounding down. (#941)

parent b577ef10
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -522,8 +522,8 @@ func (m *LocalMatchmaker) Process() {
					}

					eligibleIndexes := make([]*MatchmakerIndex, 0, len(eligibleIndexesUniq))
					for _, egi := range eligibleIndexes {
						eligibleIndexes = append(eligibleIndexes, egi)
					for idx := range eligibleIndexesUniq {
						eligibleIndexes = append(eligibleIndexes, idx)
					}

					eligibleGroups := groupIndexes(eligibleIndexes, rem)