From aee353a54ef7f5b8ed5f54991e7b42c312b571d2 Mon Sep 17 00:00:00 2001 From: Kelenius Date: Sun, 3 Dec 2023 12:13:06 +0300 Subject: [PATCH] Fix warehouse not updating after product sale (#925) --- src/Corporation/Division.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Corporation/Division.ts b/src/Corporation/Division.ts index 038856d1f..e987eb31d 100644 --- a/src/Corporation/Division.ts +++ b/src/Corporation/Division.ts @@ -946,6 +946,7 @@ export class Division { console.error(`Invalid State: ${state}`); break; } //End switch(this.state) + this.updateWarehouseSizeUsed(warehouse); } return totalProfit; }