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 picking a gender and init randomly #2021

Merged
merged 1 commit into from
Aug 11, 2023

Conversation

lmoureaux
Copy link
Contributor

@lmoureaux lmoureaux commented Aug 11, 2023

Picking a gender was not working because the radio buttons weren't synchronized with the internal variable holding the information. Discard the internal variable and use the buttons as the source of truth. Always make sure that one of the buttons is selected. Pick one randomly on startup, as choosing one would be offensive towards half of humankind.

Reported by Hawk on Discord.

Backport candidate.

Picking a gender was not working because the radio buttons weren't
synchronized with the internal variable holding the information. Discard
the internal variable and use the buttons as the source of truth.
Always make sure that one of the buttons is selected. Pick one randomly
on startup, as choosing one would be offensive towards half of
humankind.

Reported by Hawk on Discord.
@lmoureaux lmoureaux requested a review from jwrober August 11, 2023 19:19
@jwrober jwrober added the back-port back-port candidate label Aug 11, 2023
@lmoureaux lmoureaux merged commit 6f66063 into longturn:master Aug 11, 2023
@lmoureaux lmoureaux deleted the bugfix/select-gender branch August 11, 2023 20:12
@lmoureaux lmoureaux self-assigned this Aug 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-port back-port candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants