mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
Merge pull request #3350 from phyzical/bugfix/3348
Fix for install augmentation stale objects bug
This commit is contained in:
@@ -21,6 +21,7 @@ import {
|
|||||||
initNeuroFluxGovernor,
|
initNeuroFluxGovernor,
|
||||||
initUnstableCircadianModulator,
|
initUnstableCircadianModulator,
|
||||||
} from "./AugmentationCreator";
|
} from "./AugmentationCreator";
|
||||||
|
import { Router } from "../ui/GameRoot";
|
||||||
|
|
||||||
export function AddToAugmentations(aug: Augmentation): void {
|
export function AddToAugmentations(aug: Augmentation): void {
|
||||||
const name = aug.name;
|
const name = aug.name;
|
||||||
@@ -194,6 +195,7 @@ function installAugmentations(force?: boolean): boolean {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
prestigeAugmentation();
|
prestigeAugmentation();
|
||||||
|
Router.toTerminal();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -553,9 +553,8 @@ export const FactionInfos: IMap<FactionInfo> = {
|
|||||||
It's too bad they won't live. But then again, who does?
|
It's too bad they won't live. But then again, who does?
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
Note that for this faction, reputation can only be gained through {FactionNames.Bladeburners} actions.
|
Note that for this faction, reputation can only be gained through {FactionNames.Bladeburners} actions.{" "}
|
||||||
Completing {FactionNames.Bladeburners}
|
Completing {FactionNames.Bladeburners} contracts/operations will increase your reputation.
|
||||||
contracts/operations will increase your reputation.
|
|
||||||
</>
|
</>
|
||||||
),
|
),
|
||||||
[],
|
[],
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ export function NetscriptSingularity(
|
|||||||
workerScript.running = false;
|
workerScript.running = false;
|
||||||
killWorkerScript(workerScript);
|
killWorkerScript(workerScript);
|
||||||
},
|
},
|
||||||
installAugmentations: function (_cbScript: unknown): boolean {
|
installAugmentations: function (_cbScript: unknown = ""): boolean {
|
||||||
updateRam("installAugmentations");
|
updateRam("installAugmentations");
|
||||||
const cbScript = helper.string("installAugmentations", "cbScript", _cbScript);
|
const cbScript = helper.string("installAugmentations", "cbScript", _cbScript);
|
||||||
helper.checkSingularityAccess("installAugmentations");
|
helper.checkSingularityAccess("installAugmentations");
|
||||||
|
|||||||
@@ -491,7 +491,6 @@ export function GameRoot({ player, engine, terminal }: IProps): React.ReactEleme
|
|||||||
}}
|
}}
|
||||||
installAugmentationsFn={() => {
|
installAugmentationsFn={() => {
|
||||||
installAugmentations();
|
installAugmentations();
|
||||||
Router.toTerminal();
|
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user