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