freeze the cost to stop sneeky sneekers

This commit is contained in:
phyzical 2022-04-15 11:17:27 +08:00
parent 0bff9be8a7
commit ec8437cadd

@ -464,7 +464,9 @@ export class Augmentation {
this.prereqs = params.prereqs ? params.prereqs : []; this.prereqs = params.prereqs ? params.prereqs : [];
this.baseRepRequirement = params.repCost; this.baseRepRequirement = params.repCost;
Object.freeze(this.baseRepRequirement);
this.baseCost = params.moneyCost; this.baseCost = params.moneyCost;
Object.freeze(this.baseCost);
this.factions = params.factions; this.factions = params.factions;
if (params.isSpecial) { if (params.isSpecial) {