mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
commit
111d87bac6
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -3,7 +3,6 @@ import { PlayerObject } from "./PersonObjects/Player/PlayerObject";
|
|||||||
import { sanitizeExploits } from "./Exploits/Exploit";
|
import { sanitizeExploits } from "./Exploits/Exploit";
|
||||||
|
|
||||||
import { Reviver } from "./utils/JSONReviver";
|
import { Reviver } from "./utils/JSONReviver";
|
||||||
|
|
||||||
import Decimal from "decimal.js";
|
import Decimal from "decimal.js";
|
||||||
import { Programs } from "./Programs/Programs";
|
import { Programs } from "./Programs/Programs";
|
||||||
|
|
||||||
@ -30,9 +29,4 @@ export function loadPlayer(saveString: string): void {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Player.exploits = sanitizeExploits(Player.exploits);
|
Player.exploits = sanitizeExploits(Player.exploits);
|
||||||
|
|
||||||
const home = Player.getHomeComputer();
|
|
||||||
if (Player.sourceFileLvl(5) > 0 && !home.programs.includes(Programs.Formulas.name)) {
|
|
||||||
Player.getHomeComputer().programs.push(Programs.Formulas.name);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user