mirror of https://github.com/bra1n/townsquare.git
Changing the clearRoles mutator to preserve the player pronouns when clearing all roles as a storyteller.
This commit is contained in:
parent
8ed78b722e
commit
8ea11c8f9e
|
@ -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: [] });
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue