Ameliorations lancer de sort
This commit is contained in:
parent
d24b9c07fa
commit
4e529e5e0d
@ -1632,13 +1632,14 @@ 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() );
|
||||||
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') ) {
|
||||||
letfilteredList.push( sort);
|
letfilteredList.push( sort);
|
||||||
} else if (sort.data.caseTMR.toLowerCase() == tmr.type ) {
|
} else if (sort.data.caseTMR.toLowerCase() == tmr.type ) {
|
||||||
letfilteredList.push( sort);
|
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);
|
letfilteredList.push( sort);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user