Update Singularity.ts

This commit is contained in:
Aerophia 2022-07-22 12:07:23 -05:00 committed by GitHub
parent 757711ce5b
commit 2907128291
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,6 +10,7 @@ import { killWorkerScript } from "../Netscript/killWorkerScript";
import { CONSTANTS } from "../Constants"; import { CONSTANTS } from "../Constants";
import { isString } from "../utils/helpers/isString"; import { isString } from "../utils/helpers/isString";
import { RunningScript } from "../Script/RunningScript"; import { RunningScript } from "../Script/RunningScript";
import { calculateAchievements } from "../Achievements/Achievements.ts";
import { import {
AugmentationStats, AugmentationStats,
@ -1275,6 +1276,7 @@ export function NetscriptSingularity(player: IPlayer, workerScript: WorkerScript
} }
wd.backdoorInstalled = true wd.backdoorInstalled = true
calculateAchievements()
enterBitNode(Router, false, player.bitNodeN, nextBN); enterBitNode(Router, false, player.bitNodeN, nextBN);
if (callbackScript) if (callbackScript)
setTimeout(() => { setTimeout(() => {