From 4e529e5e0d1248896b65539a5c9acd5fb86ccbcb Mon Sep 17 00:00:00 2001 From: sladecraven Date: Tue, 2 Feb 2021 08:08:27 +0100 Subject: [PATCH] Ameliorations lancer de sort --- module/actor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/actor.js b/module/actor.js index 4c5dc80f..451f0abe 100644 --- a/module/actor.js +++ b/module/actor.js @@ -1632,13 +1632,14 @@ export class RdDActor extends Actor { let tmr = TMRUtility.getTMRDescription( coord); let letfilteredList = [] for ( let sort of sortList) { + console.log(sort.name, sort.data.caseTMR.toLowerCase(), sort.data.caseTMRspeciale.toLowerCase(), coord.toLowerCase() ); if (sort.data.caseTMR.toLowerCase().includes('variable') ) { letfilteredList.push( sort); } else if (sort.data.caseTMRspeciale.toLowerCase().includes('variable') ) { letfilteredList.push( sort); } else if (sort.data.caseTMR.toLowerCase() == tmr.type ) { letfilteredList.push( sort); - } else if ( sort.data.caseTMR.toLowerCase().includes('spéciale') && sort.data.caseTMRspeciale.toLowerCase().includes( coord.toLowerCase() ) ) { + } else if ( sort.data.caseTMR.toLowerCase().includes('special') && sort.data.caseTMRspeciale.toLowerCase().includes( coord.toLowerCase() ) ) { letfilteredList.push( sort); } }