diff --git a/src/engine.tsx b/src/engine.tsx index 9fc9c308b..cc57a6a6a 100644 --- a/src/engine.tsx +++ b/src/engine.tsx @@ -407,7 +407,7 @@ const Engine: { Player.lastUpdate = _thisUpdate - offset; Engine.updateGame(diff); } - window.requestAnimationFrame(Engine.start); + window.setTimeout(Engine.start, CONSTANTS.MilliPerCycle - offset); }, };