diff --git a/grepolis.user.js b/grepolis.user.js index a6468ee..c689f68 100644 --- a/grepolis.user.js +++ b/grepolis.user.js @@ -80,17 +80,19 @@ var townCount = 0; for(var town_id in farm_ids) { - HelperTown.townSwitch(town_id); - HelperTown.handleInfoWindowJumpToTownClick(); townCount++; var town_id_c = town_id; setTimeout(function() { - var farmtowns = $(".farmtown_owned_on_same_island"); - $.each(farmtowns, function(f, farmtown) { - var farmtownId = farmtown["id"].split("_")[2]; - farm_ids[town_id_c].push(+farmtownId); - }); - }, townCount*2000); + HelperTown.townSwitch(town_id); + HelperTown.handleInfoWindowJumpToTownClick(); + setTimeout(function() { + var farmtowns = $(".farmtown_owned_on_same_island"); + $.each(farmtowns, function(f, farmtown) { + var farmtownId = farmtown["id"].split("_")[2]; + farm_ids[town_id_c].push(+farmtownId); + }); + }, 1800); + }, townCount*2200); } setTimeout(function() {