Browse Source

fixed production bug for mines

lakebane-mine-tele
FatBoy-DOTC 3 months ago
parent
commit
36340c4e52
  1. 2
      src/engine/objects/Mine.java

2
src/engine/objects/Mine.java

@ -429,7 +429,7 @@ public class Mine extends AbstractGameObject {
writer.putInt(this.getModifiedProductionAmount()); writer.putInt(this.getModifiedProductionAmount());
writer.putInt(this.getModifiedProductionAmount()); //TODO calculate range penalty here writer.putInt(this.getModifiedProductionAmount()); //TODO calculate range penalty here
writer.putInt(3600); //window in seconds writer.putInt(3600); //window in seconds
writer.putInt(this.isExpansion() ? this.mineType.xpacHash : this.mineType.hash); writer.putInt(this.mineType.hash);
} }
@Override @Override

Loading…
Cancel
Save