Skip to content

Commit

Permalink
Kill all scripts upon entering the bitverse (bitburner-official#1042)
Browse files Browse the repository at this point in the history
  • Loading branch information
LJNeon authored and G4mingJon4s committed Mar 23, 2024
1 parent 7d9d0ac commit 5f82afd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/GameRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -169,6 +170,7 @@ export function GameRoot(): React.ReactElement {
Player.gotoLocation(LocationName.TravelAgency);
break;
case Page.BitVerse:
prestigeWorkerScripts();
calculateAchievements();
break;
}
Expand Down

0 comments on commit 5f82afd

Please sign in to comment.