More hotfix

* Fix empty solution for all valid math expressions
This commit is contained in:
omuretsu
2023-05-28 05:25:09 -04:00
parent 8e4492685d
commit ae8f26f03b
5 changed files with 8 additions and 20 deletions
+2 -3
View File
@@ -227,9 +227,8 @@ export const v2APIBreak = () => {
offenders: [],
});
}
// API break function is called before the version31 2.3.0 changes, scripts are still an array.
for (const script of home.scripts.values() as unknown as Script[]) {
// V31/2.3.0 conversion of scripts to map has already occurred.
for (const script of home.scripts.values()) {
processScript(rules, script);
}