/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-28 21:29:47 +02:00
parent f3e203ff84
commit 0e95fa6414

View File

@ -10,7 +10,7 @@
// //
// @match http://*.grepolis.com/game/* // @match http://*.grepolis.com/game/*
// //
// @version 1.0.92 // @version 1.0.93
// @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==
@ -162,7 +162,7 @@
timeout = getWaresFromFarm(wnd, mood, xTownId, xFarmId) * 1000 + rand(5); timeout = getWaresFromFarm(wnd, mood, xTownId, xFarmId) * 1000 + rand(5);
} finally { } finally {
durations["farm-" + xFarmId] = timeout / 1000; durations["farm-" + xFarmId] = timeout / 1000;
setTimeout(getWaresTick(xFarmId), timeout); setTimeout(getWaresTick(xTownId, xFarmId), timeout);
} }
} }
} }