Commit b0fa47eb authored by Maxim Ivanov's avatar Maxim Ivanov
Browse files

fix(matchmaker): update total count after rounding to CountMultiple

After roundToCountMultiple successfully removes some tickets to
satisfy CountMultiple we need to update total number of players
in the candidate match (found combo + current index)

Previously final Min/Max/Multiple count check for each selected
ticket (MatchmakerIndex) was done against stale total count.
parent 19b9ecf5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -456,6 +456,7 @@ func (m *LocalMatchmaker) Process() {
					if !ok {
						continue
					}
					l = sumCount(foundCombo) + index.Count
				}

				// Check that ALL of these conditions are true for ALL matched entries: