From 38994e849b6e36afe4322632820e9813c0868413 Mon Sep 17 00:00:00 2001 From: sladecraven Date: Fri, 12 Feb 2021 23:06:31 +0100 Subject: [PATCH] Fix lancer sort --- module/actor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 1f749910..8517a852 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1814,13 +1814,15 @@ export class RdDActor extends Actor { let draconicList = this.filterDraconicList(sortList); let rollData = { forceCarac: { 'reve': duplicate(this.data.data.carac.reve) }, + selectedCarac: duplicate(this.data.data.carac.reve), draconicList: draconicList, sortList: sortList, competence: draconicList[0], selectedSort: sortList[0], tmr: TMRUtility.getTMR(coord), diffLibre: sortList[0].data.difficulte, // Per default at startup - coutreve: Array(20).fill().map((item, index) => 1 + index) + coutreve: Array(20).fill().map((item, index) => 1 + index), + carac: { 'reve': duplicate(this.data.data.carac.reve) } } if (this.currentTMR) this.currentTMR.minimize(); // Hide