mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-01-11 07:47:33 +01:00
Merge pull request #2564 from MartinFournier/fix/clear-history-augs
Move router.clearHistory() to prestigeAugmentation
This commit is contained in:
commit
97e0b536a5
@ -2583,7 +2583,6 @@ function installAugmentations(): boolean {
|
|||||||
augmentationList += aug.name + level + "<br>";
|
augmentationList += aug.name + level + "<br>";
|
||||||
}
|
}
|
||||||
Player.queuedAugmentations = [];
|
Player.queuedAugmentations = [];
|
||||||
Router.clearHistory();
|
|
||||||
|
|
||||||
dialogBoxCreate(
|
dialogBoxCreate(
|
||||||
"You slowly drift to sleep as scientists put you under in order " +
|
"You slowly drift to sleep as scientists put you under in order " +
|
||||||
|
@ -161,6 +161,8 @@ export function prestigeAugmentation(): void {
|
|||||||
resetPidCounter();
|
resetPidCounter();
|
||||||
ProgramsSeen.splice(0, ProgramsSeen.length);
|
ProgramsSeen.splice(0, ProgramsSeen.length);
|
||||||
InvitationsSeen.splice(0, InvitationsSeen.length);
|
InvitationsSeen.splice(0, InvitationsSeen.length);
|
||||||
|
|
||||||
|
Router.clearHistory();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Prestige by destroying Bit Node and gaining a Source File
|
// Prestige by destroying Bit Node and gaining a Source File
|
||||||
|
Loading…
Reference in New Issue
Block a user