From d425050387d5dda95f2dedff871ecf2e574af9f6 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 21 Jan 2023 11:58:08 -0500 Subject: [PATCH] Resetting tracking variables when a mine tower is destroyed. --- src/engine/objects/Mine.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 1b5fc5cb..fe7a8d6d 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -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 { this.nationName = ""; this.owningGuild = Guild.getErrantGuild(); Mine.setLastChange(System.currentTimeMillis()); + this.lastClaimer = null; + this.wasClaimed = false; // Update database