1
0
mirror of https://github.com/Luzifer/automate-cookie-clicker.git synced 2024-09-18 23:02:56 +00:00

Linter advice: Use local instead of global variable

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-04-20 07:45:16 +02:00
parent 339c2b0618
commit 1ad612c413
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -91,7 +91,7 @@ function getMaxBuy() {
function hasActiveClickBuff() {
var hasBuff = false;
for (key in Game.buffs) {
for (var key in Game.buffs) {
if (Game.buffs[key].multClick) hasBuff = true;
}
return hasBuff;