Update CUnleash.js

This commit is contained in:
David Duran Rosich
2026-05-28 23:49:09 +02:00
parent d1bf016196
commit 833507eabc

View File

@@ -24,7 +24,7 @@ setInterval(function () {
(function () { (function () {
"use strict"; "use strict";
let state = true; // initial state is ON let state = false;
let intervalId; let intervalId;
document.addEventListener("keydown", function (event) { document.addEventListener("keydown", function (event) {
@@ -57,12 +57,12 @@ setInterval(function () {
} }
// Wait for the Game object to be defined, then start the auto-clicker // Wait for the Game object to be defined, then start the auto-clicker
const waitIntervalId = setInterval(function () { // const waitIntervalId = setInterval(function () {
if (typeof Game !== "undefined") { // if (typeof Game !== "undefined") {
clearInterval(waitIntervalId); // clearInterval(waitIntervalId);
startAutoClicker(); // startAutoClicker();
} // }
}, 1000); // }, 1000);
})(); })();
// setInterval(function() { // setInterval(function() {