From 68d525f91cffda3cde0a13155aa944ce5aedfca0 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 30 Sep 2025 11:13:54 -0500 Subject: [PATCH] remove distance reduction for mine production --- src/engine/objects/Mine.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 9d1c82c5..bf66c839 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -570,22 +570,6 @@ public class Mine extends AbstractGameObject { } //add base production on top; totalModded += baseProduction; - //skip distance check for expansion. - if (this.isExpansion()) - return (int) totalModded; - - if (this.owningGuild.isEmptyGuild() == false) { - if (this.owningGuild.getOwnedCity() != null) { - float distanceSquared = this.owningGuild.getOwnedCity().getLoc().distanceSquared2D(mineBuilding.getLoc()); - - if (distanceSquared > sqr(10000 * 3)) - totalModded *= .25f; - else if (distanceSquared > sqr(10000 * 2)) - totalModded *= .50f; - else if (distanceSquared > sqr(10000)) - totalModded *= .75f; - } - } return (int) totalModded; }