Merge pull request #99 from mollthecoder/patch-1

Fix libhooktick.js
This commit is contained in:
slweeb 2023-07-02 11:14:00 -04:00 committed by GitHub
commit 1eca02dd6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
clearInterval(tickInterval);
window.addEventListener("load", ()=>{
clearInterval(tickInterval);
});
const oldTick = tick;
let __registeredTickCallbacks = [];
function everyTick(callback){