diff --git a/CUnleash.js b/CUnleash.js index 885ce83..9baeefa 100644 --- a/CUnleash.js +++ b/CUnleash.js @@ -57,12 +57,12 @@ setInterval(function () { } // Wait for the Game object to be defined, then start the auto-clicker - // const waitIntervalId = setInterval(function () { - // if (typeof Game !== "undefined") { - // clearInterval(waitIntervalId); - // startAutoClicker(); - // } - // }, 1000); + const waitIntervalId = setInterval(function () { + if (typeof Game !== "undefined") { + clearInterval(waitIntervalId); + stopAutoClicker(); + } + }, 1000); })(); // setInterval(function() {