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 scenarios being skipped or repeated when choosing "keep playing" #1065

Merged
merged 5 commits into from
Jan 31, 2023

Conversation

byorgey
Copy link
Member

@byorgey byorgey commented Jan 31, 2023

Introduce an invariant that the currently selected menu item is ALWAYS the same as the currently played scenario. quitGame is now the ONLY place where the menu should be advanced.

Fixes #1064.

Introduce an invariant that the currently selected menu item is ALWAYS
the same as the currently played scenario.  `quitGame` is now the ONLY
place where the menu should be advanced.

Fixes #1064.
Copy link
Member

@xsebek xsebek left a comment

Choose a reason for hiding this comment

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

Thanks for the comments, the new invariant seems much more reasonable to me. 👍

@byorgey byorgey added the merge me Trigger the merge process of the Pull request. label Jan 31, 2023
@mergify mergify bot merged commit f940c24 into main Jan 31, 2023
@mergify mergify bot deleted the fix/menu-skip branch January 31, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge me Trigger the merge process of the Pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Challenges get skipped and repeated after choosing "keep playing"
2 participants