Fixed NMI aug having effect before installing

This commit is contained in:
Mughur
2022-09-14 20:54:03 +03:00
5 changed files with 6 additions and 6 deletions

View File

@@ -58,7 +58,7 @@ export class CreateProgramWork extends Work {
process(player: IPlayer, cycles: number): boolean {
let focusBonus = 1;
if (!player.hasAugmentation(AugmentationNames["NeuroreceptorManager"])) {
if (!player.hasAugmentation(AugmentationNames.NeuroreceptorManager, true)) {
focusBonus = player.focus ? 1 : CONSTANTS.BaseFocusBonus;
}
//Higher hacking skill will allow you to create programs faster