From adae9a9ce146f27d683983df40412ce8a976d876 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 19 Jan 2023 15:39:49 -0500 Subject: [PATCH] Errant mines active at startup. --- 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 7da6267b..b1b0af8d 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -107,11 +107,13 @@ public class Mine extends AbstractGameObject { this.guildName = this.owningGuild.getName(); this.guildTag = this.owningGuild.getGuildTag(); nation = this.owningGuild.getNation(); + this.setActive(true); } else { this.guildName = ""; this.guildTag = GuildTag.ERRANT; nation = Guild.getErrantGuild(); this.owningGuild = Guild.getErrantGuild(); + this.setActive(false); } if (!nation.isErrant()) { @@ -122,7 +124,6 @@ public class Mine extends AbstractGameObject { this.nationTag = GuildTag.ERRANT; } - this.setActive(false); this.production = Resource.valueOf(rs.getString("mine_resource")); this.lastClaimerSessionID = null;