Resetting tracking variables when a mine tower is destroyed.
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user