From 82d67f28504cd6e72d9db4ab1a2d6d1d5d31b8ab Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 25 Jun 2024 21:24:48 -0500 Subject: [PATCH] mine serializing --- src/engine/objects/Mine.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index c40cbfb8..f3f5e775 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -181,7 +181,8 @@ public class Mine extends AbstractGameObject { writer.putInt(mine.getObjectUUID()); writer.putInt(mine.getObjectUUID()); //actually a hash of mine writer.putString(mine.mineType.name); - writer.putString(mine.zoneName + " " + mine.capSize + " Man "); + //writer.putString(mine.zoneName + " " + mine.capSize + " Man "); + writer.putString(mine.capSize + " Man "); writer.putInt(mine.production.hash); writer.putInt(mine.production.baseProduction); writer.putInt(mine.getModifiedProductionAmount()); //TODO calculate range penalty here