From 093f537fd002448edacba71c75d7795369e67964 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Sat, 14 Apr 2018 18:21:11 +0200 Subject: [PATCH] This is JS, not Go Signed-off-by: Knut Ahlers --- autocookieclicker.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autocookieclicker.user.js b/autocookieclicker.user.js index 9de5671..6acc3f8 100644 --- a/autocookieclicker.user.js +++ b/autocookieclicker.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Automate CookieClicker // @namespace https://luzifer.io/ -// @version 0.9.1 +// @version 0.9.2 // @description Automate everything! // @author Knut Ahlers // @source https://github.com/Luzifer/automate-cookie-clicker @@ -78,7 +78,7 @@ function getMaxBuy() { return Math.max(Math.ceil((topPurchaseCount + 1) / purchaseSteps), 1) * purchaseSteps; } -func note(msg, quick = true) { +function note(msg, quick = true) { // Icon: img/icons.png 0-based indices Game.Note("Auto-CookieClicker", msg, [12, 0], quick); } @@ -100,7 +100,7 @@ function upgradeFilter(idx) { // Enable automatic purchasing of upgrades / elements window.autoPurchase = window.setInterval(executeAutoActions, 500); - window.setTimeout(func() { + window.setTimeout(function() { // Startup notification let version = GM_info.script.version; note('Version ' + version + ' loaded.');