mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 19:37:07 +02:00
Various fixes to our upgrade logic (#536)
Stuff broke over time, especially with the major changes we made leading up to 2.3. We should test with older saves if/when we make large changes in the future. Fixes #532
This commit is contained in:
@@ -229,7 +229,7 @@ export const v2APIBreak = () => {
|
||||
}
|
||||
|
||||
// API break function is called before the version31 2.3.0 changes, scripts are still an array.
|
||||
for (const script of home.scripts as unknown as Script[]) {
|
||||
for (const script of home.scripts.values() as unknown as Script[]) {
|
||||
processScript(rules, script);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user