1
0
Fork 0
mirror of https://github.com/Luzifer/automate-cookie-clicker.git synced 2024-12-22 18:21:18 +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;