Fix lancer sort

This commit is contained in:
sladecraven 2021-02-12 23:06:31 +01:00
parent 5e95916c66
commit 38994e849b

View File

@ -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