Browse Source

Resetting tracking variables when a mine tower is destroyed.

master
MagicBot 2 years ago
parent
commit
d425050387
  1. 4
      src/engine/objects/Mine.java

4
src/engine/objects/Mine.java

@ -450,8 +450,6 @@ public class Mine extends AbstractGameObject { @@ -450,8 +450,6 @@ public class Mine extends AbstractGameObject {
return true;
}
public void handleDestroyMine() {
if (!this.isActive)
@ -463,6 +461,8 @@ public class Mine extends AbstractGameObject { @@ -463,6 +461,8 @@ public class Mine extends AbstractGameObject {
this.nationName = "";
this.owningGuild = Guild.getErrantGuild();
Mine.setLastChange(System.currentTimeMillis());
this.lastClaimer = null;
this.wasClaimed = false;
// Update database

Loading…
Cancel
Save