move route to terminal to the inside of the common fucntion

* tested without bandaid still works correctly
* fix default script with installAugmentations
This commit is contained in:
phyzical
2022-04-04 18:29:43 +08:00
parent acfd164927
commit dfe9e98c77
3 changed files with 3 additions and 2 deletions
+2
View File
@@ -21,6 +21,7 @@ import {
initNeuroFluxGovernor,
initUnstableCircadianModulator,
} from "./AugmentationCreator";
import { Router } from "../ui/GameRoot";
export function AddToAugmentations(aug: Augmentation): void {
const name = aug.name;
@@ -186,6 +187,7 @@ function installAugmentations(): boolean {
"<br>You wake up in your home...you feel different...",
);
prestigeAugmentation();
Router.toTerminal();
return true;
}