Fix condition of logging possible room list corruption (#10685)
* Revert condition of logging possible room list corruption * Fix loop condition
This commit is contained in:
parent
b32482bc4a
commit
857e22f943
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue