/ ‘grepolis.user.js’
This commit is contained in:
parent
5d370cb5bb
commit
e5a289d8df
@ -10,7 +10,7 @@
|
||||
//
|
||||
// @match http://*.grepolis.com/game/*
|
||||
//
|
||||
// @version 1.1.63
|
||||
// @version 1.1.64
|
||||
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
|
||||
// ==/UserScript==
|
||||
|
||||
@ -114,9 +114,9 @@
|
||||
console.log(xTownCount + ") get farms for town " + xTownId);
|
||||
HelperTown.townSwitch(xTownId);
|
||||
var town = ITowns.getTown(xTownId);
|
||||
HelperTown.handleInfoWindowJumpToTownClick(
|
||||
{x:town.getIslandCoordinateX(), y:town.getIslandCoordinateY(), id:xTownId},
|
||||
null,
|
||||
var params = {x:town.getIslandCoordinateX(), y:town.getIslandCoordinateY(), id:xTownId};
|
||||
console.log("jump to " + params);
|
||||
HelperTown.handleInfoWindowJumpToTownClick(params, null,
|
||||
function() {
|
||||
WMap.mapTiles.focusTown(xTownId);
|
||||
console.log("getting farms for town " + xTownId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user