Set pronouns upon change

This commit is contained in:
Alexander Fletcher 2022-05-30 20:18:57 +08:00
parent 0e1cdbbb35
commit ee09949732

View file

@ -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);
}
},