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 Menu Close Fidget Logic #45

Merged
merged 2 commits into from
Oct 12, 2024

Conversation

Lincoln-LM
Copy link
Contributor

simply only does the player fidget rands

rng.Next();
rng.NextInt(60);

when the MenuCloseType is not HoldingDirection as fidgets do not happen when holding a direction. additionally removes the erroneous rand(360) for this case & removes the unimplemented cave types as they are not actually unique. this change is not tested as I do not have a build environment set up but should logically be fine. it's worth noting that currently there is never a case where the value of Mode is not MenuCloseType.Regular as the only place where this is an option (MenuCloseTimeline subform) does not actually consider the user input for the "Holding direction?" checkbox.

@LegoFigure11
Copy link
Owner

Thanks lincoln!

@LegoFigure11 LegoFigure11 merged commit 073bd63 into LegoFigure11:main Oct 12, 2024
1 check passed
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