diff --git a/grepolis.user.js b/grepolis.user.js index cdc0d90..6c3b267 100644 --- a/grepolis.user.js +++ b/grepolis.user.js @@ -98,7 +98,7 @@ }); $(town_countdown).append('
'); } - }, townCount * 3000); + }, townCount * 5000); $("#gpwnd_" + logGPWindow.getID()).parent().parent().find(".ui-dialog-titlebar").empty().append("" + GM_info.script.version); var choose = $("#choosefarmduration")[0]; @@ -111,17 +111,19 @@ setTimeout(function() { console.log("get farms for town " + xTownId); HelperTown.townSwitch(xTownId); - HelperTown.handleInfoWindowJumpToTownClick(); setTimeout(function() { - console.log("getting farms for town " + xTownId); - var farmtowns = $(".farmtown_owned_on_same_island"); - $.each(farmtowns, function(f, farmtown) { - var farmtownId = farmtown["id"].split("_")[2]; - console.log("got farm " + farmtownId + " for town " + xTownId); - farm_ids[xTownId].push(+farmtownId); - }); + HelperTown.handleInfoWindowJumpToTownClick(); + setTimeout(function() { + console.log("getting farms for town " + xTownId); + var farmtowns = $(".farmtown_owned_on_same_island"); + $.each(farmtowns, function(f, farmtown) { + var farmtownId = farmtown["id"].split("_")[2]; + console.log("got farm " + farmtownId + " for town " + xTownId); + farm_ids[xTownId].push(+farmtownId); + }); + }, 1800); }, 1800); - }, xTownCount*2200); + }, xTownCount*4000); } function log(xText) {