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 vitamins debug menu modifying the wrong vitamin #2024

Merged
merged 2 commits into from
Oct 21, 2022

Conversation

leoCottret
Copy link
Collaborator

@leoCottret leoCottret commented Oct 14, 2022

Summary

SUMMARY: Bugfixes "Fix vitamins debug menu modifying the wrong vitamin"

Purpose of change

Trying to change a vitamin value through the debug menu (eg C) will give you a pop up for the value above (eg B12)

Describe the solution

Fixing this incorrect behavior by calculating the non vitamin entries instead of hardcoding the number.

Testing

I tried to change the value of every vitamins, the game now prompts the right pop up for each one

@Coolthulhu Coolthulhu self-assigned this Oct 15, 2022
@Coolthulhu Coolthulhu merged commit 44d8726 into cataclysmbnteam:upload Oct 21, 2022
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