diff --git a/src/engine/gameManager/ZoneManager.java b/src/engine/gameManager/ZoneManager.java index f0bc0a4b..b842b968 100644 --- a/src/engine/gameManager/ZoneManager.java +++ b/src/engine/gameManager/ZoneManager.java @@ -121,8 +121,8 @@ public enum ZoneManager { public static void resetHotZones() { for (Zone zone : ZoneManager.macroZones) - if (zone.hasBeenHotzone) - zone.hasBeenHotzone = false; + if (zone.wasHotzonw) + zone.wasHotzonw = false; } @@ -150,7 +150,7 @@ public enum ZoneManager { ZoneManager.hotZone = zone; ZoneManager.hotZoneCycle = 1; // Used with HOTZONE_DURATION from config. - zone.hasBeenHotzone = true; + zone.wasHotzonw = true; ZoneManager.hotZoneLastUpdate = LocalDateTime.now().withMinute(0).withSecond(0).atZone(ZoneId.systemDefault()).toInstant(); } @@ -242,7 +242,7 @@ public enum ZoneManager { //no duplicate hotZones - if (zone.hasBeenHotzone == true) + if (zone.wasHotzonw == true) return false; // Enforce min level diff --git a/src/engine/objects/Zone.java b/src/engine/objects/Zone.java index 229d18ef..e380a3fd 100644 --- a/src/engine/objects/Zone.java +++ b/src/engine/objects/Zone.java @@ -52,7 +52,7 @@ public class Zone extends AbstractWorldObject { public float absZ = 0.0f; public int min_level; public int max_level; - public boolean hasBeenHotzone = false; + public boolean wasHotzonw = false; public ArrayList nodes = new ArrayList<>(); public int parentZoneID; public Zone parent = null;