mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 01:23:49 +01:00
Merge pull request #2502 from MartinFournier/fix/brachiblade-sleeve
Fix sleeves brachiblades aug with save migration
This commit is contained in:
commit
23cae6489d
@ -244,6 +244,18 @@ function evaluateVersionCompatibility(ver: string | number): void {
|
|||||||
StockMarket[LocationName.Sector12JoesGuns] = s;
|
StockMarket[LocationName.Sector12JoesGuns] = s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (ver < 10) {
|
||||||
|
// Augmentation name was changed in 0.56.0 but sleeves aug list was missed.
|
||||||
|
if (anyPlayer.sleeves && anyPlayer.sleeves.length > 0) {
|
||||||
|
for (const sleeve of anyPlayer.sleeves) {
|
||||||
|
if (!sleeve.augmentations || sleeve.augmentations.length === 0) continue;
|
||||||
|
for (const augmentation of sleeve.augmentations) {
|
||||||
|
if (augmentation.name !== "Graphene BranchiBlades Upgrade") continue;
|
||||||
|
augmentation.name = "Graphene BrachiBlades Upgrade";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user