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); } }