diff --git a/Core/bottypes/athome.cs b/Core/bottypes/athome.cs index d8c5cfe..954fd37 100644 --- a/Core/bottypes/athome.cs +++ b/Core/bottypes/athome.cs @@ -255,7 +255,7 @@ namespace BSB.bottypes while ((tested_sims.Count() != myconfig.Basic_HomeRegions.Length) && (UseSLurl == "")) { last_tested_home_id++; - if (last_tested_home_id > myconfig.Basic_HomeRegions.Length) + if (last_tested_home_id >= myconfig.Basic_HomeRegions.Length) { last_tested_home_id = 0; }