Fix libhooktick
This commit is contained in:
parent
ca0f110a3e
commit
d8d2b7a7d4
|
|
@ -1,3 +1,4 @@
|
|||
clearInterval(tickInterval);
|
||||
const oldTick = tick;
|
||||
let __registeredTickCallbacks = [];
|
||||
function everyTick(callback){
|
||||
|
|
@ -9,3 +10,4 @@ tick = function(){
|
|||
func();
|
||||
});
|
||||
}
|
||||
tickInterval = setInterval(tick, 1000/tps);
|
||||
|
|
|
|||
Loading…
Reference in New Issue