From 038cac8aed14f1219b87f6c18f7c6d5a78a10a22 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Thu, 19 Jan 2023 15:45:13 -0500 Subject: [PATCH] Errant mines active at startup. --- src/engine/objects/Mine.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 52977a91..e8f61235 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -110,10 +110,9 @@ public class Mine extends AbstractGameObject { this.owningGuild = Guild.getErrantGuild(); this.setActive(true); } else { - this.guildName = ""; - this.guildTag = GuildTag.ERRANT; - nation = Guild.getErrantGuild(); - this.owningGuild = Guild.getErrantGuild(); + this.guildName = this.owningGuild.getName(); + this.guildTag = this.owningGuild.getGuildTag(); + nation = this.owningGuild.getNation(); this.setActive(false); }