/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-04 15:26:08 +02:00
parent 4ab07e8859
commit 5547041942

View File

@ -10,7 +10,7 @@
// //
// @match http://*.grepolis.com/game/* // @match http://*.grepolis.com/game/*
// //
// @version 1.0.33 // @version 1.0.34
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js // @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
// ==/UserScript== // ==/UserScript==
@ -94,8 +94,8 @@
var seconds = minutes * 60 + ts.substring(5,7) * 1; var seconds = minutes * 60 + ts.substring(5,7) * 1;
$('.town_name').text(dformat + " +" + seconds + "s"); $('.town_name').text(dformat + " +" + ts);
console.log("btn is inactive, trying again in " + seconds + " seconds"); console.log("btn is inactive, trying again in " + ts + " seconds");
wnd.close(); wnd.close();
setTimeout(getWaresTick(xFarmId), seconds * 1000 + 1000); setTimeout(getWaresTick(xFarmId), seconds * 1000 + 1000);