Update CUnleash.js
This commit is contained in:
1 parent
d1bf016196
commit
833507eabc
1 file changed
+7
-7
+7
-7
@@ -24,7 +24,7 @@ setInterval(function () {
|
||||
(function () {
|
||||
"use strict";
|
||||
|
||||
let state = true; // initial state is ON
|
||||
let state = false;
|
||||
let intervalId;
|
||||
|
||||
document.addEventListener("keydown", function (event) {
|
||||
@@ -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);
|
||||
// startAutoClicker();
|
||||
// }
|
||||
// }, 1000);
|
||||
})();
|
||||
|
||||
// setInterval(function() {
|
||||
|
||||
Reference in new issue
Block a user