Update betterStats.js to use new libhooktick APIs

This commit is contained in:
MollTheCoder 2023-07-29 00:13:24 -04:00 committed by GitHub
parent f1b8e38c3e
commit 42f6a00d02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ let realTps = 0;
let lastTps = 0;
window.addEventListener("load", ()=>{
requireMods(["mods/libhooktick.js"], () => {
everyTick(()=>{
beforeEveryTick(()=>{
lastTps++;
});
setInterval(()=>{