mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 12:45:45 +01:00
Merge pull request #77 from danielyxie/dev
Bug fix with marking augmentations as owned in Player.augmentations
This commit is contained in:
commit
d6a99dc0d1
@ -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