Merge pull request #3350 from phyzical/bugfix/3348

Fix for install augmentation stale objects bug
This commit is contained in:
hydroflame
2022-04-11 20:05:46 -04:00
committed by GitHub
4 changed files with 5 additions and 5 deletions

View File

@@ -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");