Changing the clearRoles mutator to preserve the player pronouns when clearing all roles as a storyteller.

This commit is contained in:
Dave 2021-03-13 09:59:44 +00:00
parent 8ed78b722e
commit 8ea11c8f9e
1 changed files with 3 additions and 2 deletions

View File

@ -80,10 +80,11 @@ const actions = {
return player;
});
} else {
players = state.players.map(({ name, id }) => ({
players = state.players.map(({ name, id, pronouns }) => ({
...NEWPLAYER,
name,
id
id,
pronouns
}));
commit("setFabled", { fabled: [] });
}