mirror of
https://github.com/Luzifer/automate-cookie-clicker.git
synced 2024-12-23 02:31:18 +00:00
Linter advice: Use local instead of global variable
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
339c2b0618
commit
1ad612c413
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ function getMaxBuy() {
|
||||||
|
|
||||||
function hasActiveClickBuff() {
|
function hasActiveClickBuff() {
|
||||||
var hasBuff = false;
|
var hasBuff = false;
|
||||||
for (key in Game.buffs) {
|
for (var key in Game.buffs) {
|
||||||
if (Game.buffs[key].multClick) hasBuff = true;
|
if (Game.buffs[key].multClick) hasBuff = true;
|
||||||
}
|
}
|
||||||
return hasBuff;
|
return hasBuff;
|
||||||
|
|
Loading…
Reference in a new issue