bra1n / townsquare

Blood on the Clocktower virtual grimoire & town square
https://clocktower.online
GNU General Public License v3.0
416 stars 234 forks source link

Remember the players pronouns when claiming seat #263

Closed alexanderfletcher closed 2 years ago

alexanderfletcher commented 2 years ago

stores pronouns in local storage and when claiming a seat they will automatically be applied.

This preference is set when changing pronouns, this causes a minor "bug" that if a story teller changes someone elses pronouns (which they can do) then it will save that as their own preference. Unsure how much this happens so leaving it in for now but if we really want to avoid this I can do a few things (either add a check box or check if user is storyteller before saving preference)

Have also made it so when leaving a seat the pronouns are removed(otherwise if a user hops between seats they would overwrite them all