mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-04 22:59:42 +02:00
@@ -152,7 +152,7 @@ export class PlayerObject extends Person implements IPlayer {
|
||||
activeSourceFileLvl = generalMethods.activeSourceFileLvl;
|
||||
applyEntropy = augmentationMethods.applyEntropy;
|
||||
focusPenalty = generalMethods.focusPenalty;
|
||||
startInfiltration = generalMethods.startInfiltration;
|
||||
initInfiltration = generalMethods.initInfiltration;
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
|
||||
@@ -603,7 +603,7 @@ export function focusPenalty(this: PlayerObject): number {
|
||||
}
|
||||
|
||||
/** This doesn't change the current page; that is up to the caller. */
|
||||
export function startInfiltration(this: PlayerObject, location: Location): void {
|
||||
export function initInfiltration(this: PlayerObject, location: Location): void {
|
||||
if (!location.infiltrationData)
|
||||
throw new Error(`trying to start infiltration at ${location.name} but the infiltrationData is null`);
|
||||
this.infiltration = new Infiltration(location);
|
||||
|
||||
Reference in New Issue
Block a user