From 2dee036e90486c8f8a7c9d3e0898c5fa7b3a8937 Mon Sep 17 00:00:00 2001 From: Martin Fournier Date: Wed, 12 Jan 2022 18:46:07 -0500 Subject: [PATCH] Revert "Move router.clearHistory() to prestigeAugmentation" This reverts commit b169406f8cff4d367ccf5c0de0f66211a6ba5525. --- src/Augmentation/AugmentationHelpers.tsx | 1 + src/Prestige.ts | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Augmentation/AugmentationHelpers.tsx b/src/Augmentation/AugmentationHelpers.tsx index 9d3d5fa3a..dffd8cc37 100644 --- a/src/Augmentation/AugmentationHelpers.tsx +++ b/src/Augmentation/AugmentationHelpers.tsx @@ -2582,6 +2582,7 @@ function installAugmentations(): boolean { augmentationList += aug.name + level + "
"; } Player.queuedAugmentations = []; + Router.clearHistory(); dialogBoxCreate( "You slowly drift to sleep as scientists put you under in order " + diff --git a/src/Prestige.ts b/src/Prestige.ts index 127ba7d4c..505f2c7df 100755 --- a/src/Prestige.ts +++ b/src/Prestige.ts @@ -161,8 +161,6 @@ export function prestigeAugmentation(): void { resetPidCounter(); ProgramsSeen.splice(0, ProgramsSeen.length); InvitationsSeen.splice(0, InvitationsSeen.length); - - Router.clearHistory(); } // Prestige by destroying Bit Node and gaining a Source File