diff --git a/autocookieclicker.user.js b/autocookieclicker.user.js index 5d59f29..64bd9e9 100644 --- a/autocookieclicker.user.js +++ b/autocookieclicker.user.js @@ -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;