mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-23 17:53:00 +02:00
BUGFIX: Intelligence data is incorrectly migrated when Intelligence is not unlocked (#2660)
This commit is contained in:
@@ -637,4 +637,11 @@ Error: ${e}`,
|
||||
if (ver < 48) {
|
||||
showAPIBreaks("3.0.0", breakingChanges300);
|
||||
}
|
||||
if (ver < 49 && Player.sourceFileLvl(5) === 0 && Player.bitNodeN !== 5) {
|
||||
for (const person of [Player, ...Player.sleeves]) {
|
||||
person.persistentIntelligenceData.exp = 0;
|
||||
person.exp.intelligence = 0;
|
||||
person.skills.intelligence = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user