Commit ce36dbb2 authored by Andrei Mihu's avatar Andrei Mihu
Browse files

Fix matchmaker tracking of eligible matches when downsizing for count multiples.

parent b8f4aef2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ The format is based on [keep a changelog](http://keepachangelog.com) and this pr
- Fix response selection in purchase lookups by identifier.
- Ensure corresponding leaderboard rank cache entries are removed when a user is deleted.
- Consistently update scheduler when leaderboards and tournaments are deleted.
- Fix matchmaker tracking of eligible matches when downsizing for count multiples.

## [3.14.0] - 2022-10-14
### Added
+3 −0
Original line number Diff line number Diff line
@@ -547,6 +547,9 @@ func (m *LocalMatchmaker) Process() {
						}
					}

					// We've removed something, update the known size of the currently considered combo.
					l = len(foundCombo) + index.Count

					if (len(foundCombo)+index.Count)%index.CountMultiple != 0 {
						// Removal was insufficient, the combo is still not valid for the required multiple.
						continue