diff --git a/cavebot/supply_check.lua b/cavebot/supply_check.lua index c694bde..882564d 100644 --- a/cavebot/supply_check.lua +++ b/cavebot/supply_check.lua @@ -90,7 +90,7 @@ CaveBot.Extensions.SupplyCheck.setup = function() supplyRetries = 0 missedChecks = 0 return false - elseif supplyRetries > (storage.extras.huntRoutes or 50) then + elseif (storage.extras.huntRoutes or 0) ~= 0 and supplyRetries > (storage.extras.huntRoutes or 50) then print("CaveBot[SupplyCheck]: Round limit reached, going back on refill. Last round took: " .. round) setCaveBotData() return false