From 2f2355942f217cd7d1648e2973475ff38e82b3c7 Mon Sep 17 00:00:00 2001 From: LJ <23249107+LJNeon@users.noreply.github.com> Date: Wed, 31 Jan 2024 17:44:31 -0700 Subject: [PATCH] Kill all scripts upon entering the bitverse (#1042) --- src/ui/GameRoot.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/GameRoot.tsx b/src/ui/GameRoot.tsx index 8f47319bd..64affb20a 100644 --- a/src/ui/GameRoot.tsx +++ b/src/ui/GameRoot.tsx @@ -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; }