Move router.clearHistory() to prestigeAugmentation

So it triggers with soft-resets as well.
This commit is contained in:
Martin Fournier 2022-01-11 15:47:13 -05:00
parent ea2f53e3b4
commit b169406f8c
2 changed files with 2 additions and 1 deletions

@ -2583,7 +2583,6 @@ function installAugmentations(): boolean {
augmentationList += aug.name + level + "<br>";
}
Player.queuedAugmentations = [];
Router.clearHistory();
dialogBoxCreate(
"You slowly drift to sleep as scientists put you under in order " +

@ -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