Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: mm-readability
Choose a base branch
from

Conversation

redbaron
Copy link
Contributor

@redbaron redbaron commented Nov 7, 2022

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.

NOTE: Bug is present in master, but PR targets in progress readability PR, not master

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.
@redbaron redbaron requested a review from zyro November 7, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant