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

refactor(match2): rework and simplify setPlacement function to be non-mutating #4841

Merged
merged 2 commits into from
Oct 10, 2024

Conversation

Rathoz
Copy link
Collaborator

@Rathoz Rathoz commented Oct 9, 2024

Summary

Significantly simplify the placement setting of the 2-opponent function.

@Rathoz Rathoz requested a review from hjpalpha October 10, 2024 07:40
@Rathoz Rathoz force-pushed the setplacement-rework branch from 9deb8e9 to 5d1d988 Compare October 10, 2024 07:54
Copy link
Collaborator

@hjpalpha hjpalpha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems good to me

@Rathoz Rathoz marked this pull request as ready for review October 10, 2024 11:08
@Rathoz Rathoz force-pushed the setplacement-rework branch from 0747ded to 6d591cb Compare October 10, 2024 12:12
@Rathoz Rathoz merged commit fdcb640 into main Oct 10, 2024
6 checks passed
@Rathoz Rathoz deleted the setplacement-rework branch October 10, 2024 13:08
Rathoz added a commit that referenced this pull request Oct 10, 2024
Rathoz added a commit that referenced this pull request Oct 10, 2024
* Create Match Summary for hearthstone

* Create Match Group Input for Hearthstone

* Create get_match_group_copy_paste_wiki.lua

* Update match_group_input_custom.lua

* Update match_group_input_custom.lua

* Update match_group_input_custom.lua

* Update match_summary.lua

* Update match_summary.lua

* Update match_summary.lua

* as per review

* ms: fix anno

* fix(ms): do not apply css to potential nil

* linter

* input refactor

* adjust copy paste (add team support)

* store chars in extradata too (to be able to condition on them)

* kick unsued cars and requires

* and another one

* map function -> identity

* fix

* #4650

* update with changes from #4839

* change from #4842

* Update Hearthstone Info M2 status (#4844)

* Update Hearthstone Info

Based on:
#4518 (comment)

* Update standard/info/wikis/hearthstone/info.lua

Co-authored-by: Rikard Blixt <[email protected]>

---------

Co-authored-by: Rikard Blixt <[email protected]>

* Create match_legacy for Hearthstone (#4846)

* Create match_legacy for Hearthstone

* Apply suggestions from code review

Co-authored-by: hjpalpha <[email protected]>

* Update components/match2/wikis/hearthstone/match_legacy.lua

* Update components/match2/wikis/hearthstone/match_legacy.lua

* Update components/match2/wikis/hearthstone/match_legacy.lua

---------

Co-authored-by: Rikard Blixt <[email protected]>
Co-authored-by: hjpalpha <[email protected]>

* change from #4841

* aano wanring

---------

Co-authored-by: hjpalpha <[email protected]>
Co-authored-by: Rikard Blixt <[email protected]>
Co-authored-by: hjpalpha <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants