validHotZone filters hotZone count.

This commit is contained in:
2023-02-24 01:04:29 -05:00
parent 52e46380a9
commit 3260582e37
+2 -1
View File
@@ -111,12 +111,13 @@ public enum ZoneManager {
// Returns the number of available hotZones
// remaining in this cycle (1am)
public static int availableHotZones() {
int count = 0;
for (Zone zone : ZoneManager.macroZones)
if (zone.hasBeenHotzone == false)
if (ZoneManager.validHotZone(zone))
count = count + 1;
return count;