Fix condition of logging possible room list corruption (#10685)
* Revert condition of logging possible room list corruption * Fix loop conditionpull/28217/head
parent
b32482bc4a
commit
857e22f943
|
@ -287,7 +287,7 @@ export class ImportanceAlgorithm extends OrderingAlgorithm {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Do a quick check to see if we've completely broken the index
|
// Do a quick check to see if we've completely broken the index
|
||||||
for (let i = 1; i <= CATEGORY_ORDER.length; i++) {
|
for (let i = 1; i < CATEGORY_ORDER.length; i++) {
|
||||||
const lastCat = CATEGORY_ORDER[i - 1];
|
const lastCat = CATEGORY_ORDER[i - 1];
|
||||||
const lastCatIndex = indices[lastCat];
|
const lastCatIndex = indices[lastCat];
|
||||||
const thisCat = CATEGORY_ORDER[i];
|
const thisCat = CATEGORY_ORDER[i];
|
||||||
|
|
Loading…
Reference in New Issue