one minor compile issue

This commit is contained in:
phyzical
2022-03-30 08:36:27 +08:00
parent 6c530202b2
commit b3a52c6224
2 changed files with 7 additions and 2 deletions
+3 -1
View File
@@ -130,7 +130,9 @@ export function NetscriptSingularity(
augs = augs.filter((a) => a.factions.length > 1 || Factions[facName].augmentations.includes(a.name));
// Remove blacklisted augs.
const blacklist = [AugmentationNames.NeuroFluxGovernor, AugmentationNames.TheRedPill];
const blacklist = [AugmentationNames.NeuroFluxGovernor, AugmentationNames.TheRedPill].map(
(augmentation) => augmentation as string,
);
augs = augs.filter((a) => !blacklist.includes(a.name));
}