Resetting tracking variables when a mine tower is destroyed.

This commit is contained in:
2023-01-21 11:58:08 -05:00
parent 39f3e4ed2c
commit d425050387
+2 -2
View File
@@ -450,8 +450,6 @@ public class Mine extends AbstractGameObject {
return true; return true;
} }
public void handleDestroyMine() { public void handleDestroyMine() {
if (!this.isActive) if (!this.isActive)
@@ -463,6 +461,8 @@ public class Mine extends AbstractGameObject {
this.nationName = ""; this.nationName = "";
this.owningGuild = Guild.getErrantGuild(); this.owningGuild = Guild.getErrantGuild();
Mine.setLastChange(System.currentTimeMillis()); Mine.setLastChange(System.currentTimeMillis());
this.lastClaimer = null;
this.wasClaimed = false;
// Update database // Update database