diff --git a/autocookieclicker.user.js b/autocookieclicker.user.js index 0d1ecdd..7d6f532 100644 --- a/autocookieclicker.user.js +++ b/autocookieclicker.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name Automate CookieClicker // @namespace https://luzifer.io/ -// @version 0.11.0 +// @version 0.11.1 // @description Automate everything! // @author Knut Ahlers // @source https://github.com/Luzifer/automate-cookie-clicker @@ -38,7 +38,7 @@ function executeAutoActions() { // Get the top enabled purchase to be made let availableProducts = $('.product.unlocked.enabled').filter(productFilter); if (availableProducts.length > 0) { - let product = availableProducts[availableProducts.length - 1]; + let product = $(availableProducts[availableProducts.length - 1]); debug("Auto-Buying: " + product.find('.title:first').text()); topPurchase.click();