Skip to content

Fix game crash when creating a difficulty#943

Merged
Raltyro merged 1 commit intoCodenameCrew:mainfrom
Bitto1070:crash-fix
Apr 1, 2026
Merged

Fix game crash when creating a difficulty#943
Raltyro merged 1 commit intoCodenameCrew:mainfrom
Bitto1070:crash-fix

Conversation

@Bitto1070
Copy link
Copy Markdown
Contributor

@Bitto1070 Bitto1070 commented Mar 30, 2026

Fixes the freeze that would happen when there was no Separator in the difficulty list, which would make a while loop go on forever and freeze the game.
Also fixes an (I think) incorrect == to a != when a new difficulty is made (which didnt even use to run due to the unbounded while loop, that's why it wasn't an issue).

@Raltyro Raltyro merged commit a8a5ae7 into CodenameCrew:main Apr 1, 2026
@Bitto1070 Bitto1070 deleted the crash-fix branch April 2, 2026 08:46
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