From d910a89fd9d72ccd093dfc3e787321eb1788e780 Mon Sep 17 00:00:00 2001 From: Daniel Xie Date: Thu, 6 Jul 2017 22:24:59 -0400 Subject: [PATCH] Red Pill and Export bug fixes --- src/Augmentations.js | 2 ++ src/SaveObject.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Augmentations.js b/src/Augmentations.js index 954c3a4b1..bbb5c4bf4 100644 --- a/src/Augmentations.js +++ b/src/Augmentations.js @@ -1740,6 +1740,8 @@ applyAugmentation = function(aug, reapply=false) { Player.hacking_chance_mult *= 1.3; Player.hacking_money_mult *= 2; break; + case AugmentationNames.TheRedPill: + break; case AugmentationNames.SPTN97: Player.strength_mult *= 1.75; Player.defense_mult *= 1.75; diff --git a/src/SaveObject.js b/src/SaveObject.js index c098d9332..d66f77119 100644 --- a/src/SaveObject.js +++ b/src/SaveObject.js @@ -316,7 +316,7 @@ BitburnerSaveObject.prototype.exportGame = function() { this.SpecialServerIpsSave = JSON.stringify(SpecialServerIps); this.AugmentationsSave = JSON.stringify(Augmentations); this.AliasesSave = JSON.stringify(Aliases); - this.GlobalAliasesSave = JSON.stringify(GlobalAliasesSave); + this.GlobalAliasesSave = JSON.stringify(GlobalAliases); this.MessagesSave = JSON.stringify(Messages); this.VersionSave = JSON.stringify(CONSTANTS.Version);