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 custom games #1139

Merged
merged 1 commit into from
Aug 26, 2024
Merged

fix custom games #1139

merged 1 commit into from
Aug 26, 2024

Conversation

ImpleLee
Copy link
Contributor

Now you can play custom_* without going through the customGame scene.

Now you can `play custom_` without going through the `customGame` scene
@MrZ626 MrZ626 merged commit 5793b7c into main Aug 26, 2024
9 checks passed
@MrZ626 MrZ626 deleted the imple/fix-customs branch August 26, 2024 03:20
ImpleLee added a commit that referenced this pull request Oct 17, 2024
Steps to reproduce:
1. reset everything in custom game
2. restart the game
3. go to the custom game scene
4. go to the custom sequence scene and set a new sequence
5. leave the scene and go to the custom game scene
6. begin to clear

Unintended behavior:
The sequence is still the default old sequence (7-bag)

Intended behavior:
The sequence is the newly set sequence

Rationale:
The bug was introduced by #1139.
It deleted a line of `apply_locals()` which I wrongly believed that the custom modes will execute initialize() anyway, but it turned out initialization is only executed during the start of the whole game.
The patch is simple: just add back the deleted line
@ImpleLee ImpleLee mentioned this pull request Oct 17, 2024
MrZ626 pushed a commit that referenced this pull request Oct 17, 2024
Steps to reproduce:
1. reset everything in custom game
2. restart the game
3. go to the custom game scene
4. go to the custom sequence scene and set a new sequence
5. leave the scene and go to the custom game scene
6. begin to clear

Unintended behavior:
The sequence is still the default old sequence (7-bag)

Intended behavior:
The sequence is the newly set sequence

Rationale:
The bug was introduced by #1139.
It deleted a line of `apply_locals()` which I wrongly believed that the custom modes will execute initialize() anyway, but it turned out initialization is only executed during the start of the whole game.
The patch is simple: just add back the deleted line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants