From 60c6a2c02ae473cdea49750e4ac617af089ea947 Mon Sep 17 00:00:00 2001 From: Bob Date: Tue, 24 Dec 2024 10:12:06 +0100 Subject: [PATCH] Fix market lords consumption for wonders --- client/src/dojo/modelManager/ResourceManager.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client/src/dojo/modelManager/ResourceManager.ts b/client/src/dojo/modelManager/ResourceManager.ts index 113f5fe26..5cac00620 100644 --- a/client/src/dojo/modelManager/ResourceManager.ts +++ b/client/src/dojo/modelManager/ResourceManager.ts @@ -204,14 +204,6 @@ export class ResourceManager { let consumptionRate = Number(production.consumption_rate); - // Check if this is a Wonder producing Lords - const isWonder = - getComponentValue(this.setup.components.Realm, getEntityIdFromKeys([BigInt(this.entityId)]))?.has_wonder || false; - - if (isWonder && resourceId === ResourcesIds.Lords) { - consumptionRate = consumptionRate * 0.1; // 10% of normal production rate for Wonders - } - const difference = Number(production.production_rate) - consumptionRate; return [difference > 0, difference]; }