From b169406f8cff4d367ccf5c0de0f66211a6ba5525 Mon Sep 17 00:00:00 2001 From: Martin Fournier Date: Tue, 11 Jan 2022 15:47:13 -0500 Subject: [PATCH] Move router.clearHistory() to prestigeAugmentation So it triggers with soft-resets as well. --- src/Augmentation/AugmentationHelpers.tsx | 1 - src/Prestige.ts | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Augmentation/AugmentationHelpers.tsx b/src/Augmentation/AugmentationHelpers.tsx index 2959dfd78..8ed797b79 100644 --- a/src/Augmentation/AugmentationHelpers.tsx +++ b/src/Augmentation/AugmentationHelpers.tsx @@ -2583,7 +2583,6 @@ 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 505f2c7df..127ba7d4c 100755 --- a/src/Prestige.ts +++ b/src/Prestige.ts @@ -161,6 +161,8 @@ 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