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(match2): Handle matchsection in legacy wrapper AoE #4921

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ function MatchMapsLegacy.matchlistStart(frame)
matchlistVars:set('bracketid', args.id)
matchlistVars:set('matchListTitle', args.title or args[1] or 'Match List')
matchlistVars:set('width', args.width or '320px')
matchlistVars:set('matchsection', args.matchsection)
matchlistVars:set('hide', args.hide or 'true')
matchlistVars:set('store', store and 'true' or nil)
matchlistVars:set('gsl', args.gsl or matchlistVars:get('gsl'))
Expand All @@ -157,6 +158,7 @@ function MatchMapsLegacy.matchlistEnd()
id = bracketid,
title = matchlistVars:get('matchListTitle'),
width = matchlistVars:get('width'),
matchsection = matchlistVars:get('matchsection'),
}

local gsl = matchlistVars:get('gsl')
Expand Down Expand Up @@ -192,6 +194,7 @@ function MatchMapsLegacy.matchlistEnd()
matchlistVars:delete('bracketid')
matchlistVars:delete('matchListTitle')
matchlistVars:delete('width')
matchlistVars:delete('matchsection')
matchlistVars:delete('hide')
matchlistVars:delete('store')
matchlistVars:delete('gsl')
Expand Down
Loading