Merge pull request #3639 from Undeemiss/blade-simulacrum-install-check

BLADEBURNER: Fix #3594 Blade's Simulacrum worked without being installed
This commit is contained in:
hydroflame 2022-05-13 11:03:52 -04:00 committed by GitHub
commit dfb552ae73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1919,7 +1919,7 @@ export class Bladeburner implements IBladeburner {
}
// If the Player starts doing some other actions, set action to idle and alert
if (player.hasAugmentation(AugmentationNames.BladesSimulacrum) === false && player.isWorking) {
if (!player.hasAugmentation(AugmentationNames.BladesSimulacrum, true) && player.isWorking) {
if (this.action.type !== ActionTypes["Idle"]) {
let msg = "Your Bladeburner action was cancelled because you started doing something else.";
if (this.automateEnabled) {