mirror of
https://github.com/bra1n/townsquare.git
synced 2025-04-04 22:24:36 +00:00
Set pronouns upon change
This commit is contained in:
parent
0e1cdbbb35
commit
ee09949732
1 changed files with 1 additions and 0 deletions
|
@ -259,6 +259,7 @@ export default {
|
|||
const pronouns = prompt("Player pronouns", this.player.pronouns);
|
||||
//Only update pronouns if not null (prompt was not cancelled)
|
||||
if (pronouns !== null) {
|
||||
localStorage.setItem("pronouns", pronouns);
|
||||
this.updatePlayer("pronouns", pronouns, true);
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue