mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 09:43:54 +01:00
Bug fix with marking augmentations as owned in Player.augmentations
This commit is contained in:
parent
8305c68d59
commit
bc282daf08
@ -982,6 +982,12 @@ displayFactionAugmentations = function(factionName) {
|
||||
owned = true;
|
||||
}
|
||||
}
|
||||
for (var j = 0; j < Player.augmentations.length; ++j) {
|
||||
if (Player.augmentations[j].name == aug.name) {
|
||||
owned = true;
|
||||
}
|
||||
}
|
||||
|
||||
var item = document.createElement("li");
|
||||
var span = document.createElement("span");
|
||||
var aDiv = document.createElement("div");
|
||||
|
@ -168,7 +168,7 @@ loadImportedGame = function(saveObj, saveString) {
|
||||
}
|
||||
}
|
||||
if (CONSTANTS.Version == "0.23.0") {
|
||||
Augmentations = JSON.parse(saveObj.AugmentationsSave, Reviver);
|
||||
tempAugmentations = JSON.parse(saveObj.AugmentationsSave, Reviver);
|
||||
}
|
||||
createNewUpdateText();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user