Merge pull request #1015 from danielyxie/dev

hotfix buying multiple NFG from level 0 not stacking
This commit is contained in:
hydroflame 2021-06-14 20:32:49 -04:00 committed by GitHub
commit 4c8d0acbd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

@ -2173,6 +2173,7 @@ function installAugmentations() {
continue;
}
applyAugmentation(Player.queuedAugmentations[i]);
if(ownedAug.name === AugmentationNames.NeuroFluxGovernor
&& i !== nfgIndex) continue;
@ -2180,7 +2181,6 @@ function installAugmentations() {
if (ownedAug.name === AugmentationNames.NeuroFluxGovernor) {
level = ` - ${ownedAug.level}`;
}
applyAugmentation(Player.queuedAugmentations[i]);
augmentationList += (aug.name + level + "<br>");
}
Player.queuedAugmentations = [];