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

Added safeguarding for qb value on wordPair deletion and save #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dmols
Copy link
Contributor

@dmols dmols commented Aug 26, 2024

Basically just added a check on both save and word pair deletion, to update the question bank value if it's higher than that of the word pair count. This way, the player won't encounter a weird error using invalid question bank data.

Fixes #49 .

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.

Fix issue where questionBank value does not update on save
1 participant