Browse Source

Errant mines active at startup.

master
MagicBot 2 years ago
parent
commit
adae9a9ce1
  1. 3
      src/engine/objects/Mine.java

3
src/engine/objects/Mine.java

@ -107,11 +107,13 @@ public class Mine extends AbstractGameObject { @@ -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 { @@ -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;

Loading…
Cancel
Save