mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-27 11:27:04 +02:00
fix a bunch of small v2 related bugs
This commit is contained in:
@@ -27,8 +27,8 @@ export class GraftingWork extends Work {
|
||||
super(WorkType.GRAFTING, params?.singularity ?? true);
|
||||
this.unitCompleted = 0;
|
||||
this.augmentation = params?.augmentation ?? AugmentationNames.Targeting1;
|
||||
|
||||
if (params?.player) params.player.loseMoney(GraftableAugmentations[this.augmentation].cost, "augmentations");
|
||||
const gAugs = GraftableAugmentations();
|
||||
if (params?.player) params.player.loseMoney(gAugs[this.augmentation].cost, "augmentations");
|
||||
}
|
||||
|
||||
unitNeeded(): number {
|
||||
|
||||
Reference in New Issue
Block a user