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:
parent
339c2b0618
commit
1ad612c413
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user