mirror of https://github.com/bra1n/townsquare.git
show custom fabled first
This commit is contained in:
parent
2b5c98d661
commit
0d41e9fd46
|
@ -214,8 +214,8 @@ export default new Vuex.Store({
|
||||||
);
|
);
|
||||||
// update Fabled to include custom Fabled from this script
|
// update Fabled to include custom Fabled from this script
|
||||||
state.fabled = new Map([
|
state.fabled = new Map([
|
||||||
...fabledJSON.map(role => [role.id, role]),
|
...processedRoles.filter(r => r.team === "fabled").map(r => [r.id, r]),
|
||||||
...processedRoles.filter(r => r.team === "fabled").map(r => [r.id, r])
|
...fabledJSON.map(role => [role.id, role])
|
||||||
]);
|
]);
|
||||||
// update extraTravelers map to only show travelers not in this script
|
// update extraTravelers map to only show travelers not in this script
|
||||||
state.otherTravelers = new Map(
|
state.otherTravelers = new Map(
|
||||||
|
|
Loading…
Reference in New Issue