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

Invoke RevertResult on parent DHO when nested DHO is reverted #23185

Merged
merged 2 commits into from
Apr 12, 2023

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Apr 11, 2023

Closes #23069.

It appears to be this easy and tests are passing locally with this change, but maybe I'm missing something. Would appreciate a review from @ekrctb to confirm/deny.

@LumpBloom7 would appreciate you taking a look at the change and confirming that this fixes the breakage you're seeing.

bdach added 2 commits April 11, 2023 18:24
Covering nested object reverts not firing the parent's `RevertResult`
event in accordance with what the xmldoc of the event states.
The behaviour described above was removed in
812a4b4, thus henceforth
contradicting `RevertResult`'s xmldoc. As it is relied on by some
external rulesets, bring it back to unbreak them.
@bdach bdach requested review from ekrctb and a team April 11, 2023 16:34
@bdach bdach self-assigned this Apr 11, 2023
@LumpBloom7
Copy link
Contributor

Can confirm it to be working as it used to. :)

@peppy peppy self-requested a review April 12, 2023 14:03
@peppy peppy merged commit 7aeab17 into ppy:master Apr 12, 2023
@bdach bdach deleted the nested-result-revert branch April 12, 2023 17:52
@Joehuu Joehuu assigned bdach and unassigned bdach Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Parent OnRevertResult is not invoked by nested HitObjects
3 participants