mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-25 13:45:49 +00:00
lastTime error fix
This commit is contained in:
parent
9eb56b4e76
commit
bfb19cc67e
|
|
@ -73,7 +73,6 @@ class Main extends Sprite
|
||||||
var timeToCall = 0;
|
var timeToCall = 0;
|
||||||
var id = window.setTimeout(function() { callback(currTime + timeToCall); },
|
var id = window.setTimeout(function() { callback(currTime + timeToCall); },
|
||||||
timeToCall);
|
timeToCall);
|
||||||
lastTime = currTime + timeToCall;
|
|
||||||
return id;
|
return id;
|
||||||
}");
|
}");
|
||||||
#end
|
#end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue