Merge pull request #2564 from MartinFournier/fix/clear-history-augs

Move router.clearHistory() to prestigeAugmentation
This commit is contained in:
hydroflame 2022-01-11 17:23:57 -05:00 committed by GitHub
commit 97e0b536a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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