From ec8437cadd6b97210477cbd497790b42046ed969 Mon Sep 17 00:00:00 2001 From: phyzical Date: Fri, 15 Apr 2022 11:17:27 +0800 Subject: [PATCH] freeze the cost to stop sneeky sneekers --- src/Augmentation/Augmentation.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Augmentation/Augmentation.tsx b/src/Augmentation/Augmentation.tsx index ebbbe84a8..effe67b29 100644 --- a/src/Augmentation/Augmentation.tsx +++ b/src/Augmentation/Augmentation.tsx @@ -464,7 +464,9 @@ export class Augmentation { this.prereqs = params.prereqs ? params.prereqs : []; this.baseRepRequirement = params.repCost; + Object.freeze(this.baseRepRequirement); this.baseCost = params.moneyCost; + Object.freeze(this.baseCost); this.factions = params.factions; if (params.isSpecial) {