From 36340c4e52555824af8722dee9425a42b2399da0 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Thu, 12 Sep 2024 20:21:11 -0500 Subject: [PATCH] fixed production bug for mines --- src/engine/objects/Mine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index dd55ce7f..1f40d21c 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -429,7 +429,7 @@ public class Mine extends AbstractGameObject { writer.putInt(this.getModifiedProductionAmount()); writer.putInt(this.getModifiedProductionAmount()); //TODO calculate range penalty here writer.putInt(3600); //window in seconds - writer.putInt(this.isExpansion() ? this.mineType.xpacHash : this.mineType.hash); + writer.putInt(this.mineType.hash); } @Override