Ameliorations lancer de sort

This commit is contained in:
sladecraven 2021-02-02 08:08:41 +01:00
parent 4e529e5e0d
commit fed92b9be3

View File

@ -1632,7 +1632,7 @@ export class RdDActor extends Actor {
let tmr = TMRUtility.getTMRDescription( coord); let tmr = TMRUtility.getTMRDescription( coord);
let letfilteredList = [] let letfilteredList = []
for ( let sort of sortList) { for ( let sort of sortList) {
console.log(sort.name, sort.data.caseTMR.toLowerCase(), sort.data.caseTMRspeciale.toLowerCase(), coord.toLowerCase() ); //console.log(sort.name, sort.data.caseTMR.toLowerCase(), sort.data.caseTMRspeciale.toLowerCase(), coord.toLowerCase() );
if (sort.data.caseTMR.toLowerCase().includes('variable') ) { if (sort.data.caseTMR.toLowerCase().includes('variable') ) {
letfilteredList.push( sort); letfilteredList.push( sort);
} else if (sort.data.caseTMRspeciale.toLowerCase().includes('variable') ) { } else if (sort.data.caseTMRspeciale.toLowerCase().includes('variable') ) {