Kill all scripts upon entering the bitverse (#1042)

This commit is contained in:
LJ 2024-01-31 17:44:31 -07:00 committed by GitHub
parent 330a32e1d0
commit 2f2355942f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -13,6 +13,7 @@ import { InteractiveTutorialRoot } from "./InteractiveTutorial/InteractiveTutori
import { ITutorialEvents } from "./InteractiveTutorial/ITutorialEvents";
import { prestigeAugmentation } from "../Prestige";
import { prestigeWorkerScripts } from "../NetscriptWorker";
import { dialogBoxCreate } from "./React/DialogBox";
import { GetAllServers } from "../Server/AllServers";
import { StockMarket } from "../StockMarket/StockMarket";
@ -168,6 +169,7 @@ export function GameRoot(): React.ReactElement {
Player.gotoLocation(LocationName.TravelAgency);
break;
case Page.BitVerse:
prestigeWorkerScripts();
calculateAchievements();
break;
}