-
Notifications
You must be signed in to change notification settings - Fork 70
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
feat(match2): Handle submatch/subgroup on hearthstone #5217
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can do a proper review tomorrow when on pc
components/match2/wikis/hearthstone/match_group_util_custom.lua
Outdated
Show resolved
Hide resolved
components/match2/wikis/hearthstone/match_group_util_custom.lua
Outdated
Show resolved
Hide resolved
components/match2/wikis/hearthstone/match_group_util_custom.lua
Outdated
Show resolved
Hide resolved
scores[opponentIndex] = 0 | ||
end | ||
for _, game in pairs(games) do | ||
if game.map and String.startsWith(game.map, 'Submatch') and not game.resultType then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
components/match2/wikis/hearthstone/match_group_util_custom.lua
Outdated
Show resolved
Hide resolved
components/match2/wikis/hearthstone/match_group_util_custom.lua
Outdated
Show resolved
Hide resolved
components/match2/wikis/hearthstone/match_group_util_custom.lua
Outdated
Show resolved
Hide resolved
components/match2/wikis/hearthstone/match_group_util_custom.lua
Outdated
Show resolved
Hide resolved
components/match2/wikis/hearthstone/match_group_util_custom.lua
Outdated
Show resolved
Hide resolved
Co-authored-by: hjpalpha <[email protected]>
So if |
imo wait for #5228 so we can make use of it here so we do not have to construct submatches in a way that mirror deprecated stuff but instead the new stuff |
components/match2/wikis/hearthstone/match_group_util_custom.lua
Outdated
Show resolved
Hide resolved
5228 is merged |
Summary
Submatch implementations is a copy from Stormgate/Starcraft
How did you test this change?
/dev and sandbox