-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix picking a gender and init randomly
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.
- Loading branch information
Showing
2 changed files
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters