From d367fecfa5fbc2a8e5e117d502c351fe91b52dea Mon Sep 17 00:00:00 2001 From: Jacob Williams <47766188+BotSpace@users.noreply.github.com> Date: Wed, 12 Jun 2024 17:25:45 -0400 Subject: [PATCH] lowered packet rate from 25Hz to 10Hz --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9bfb380..b73ea37 100644 --- a/index.js +++ b/index.js @@ -41,7 +41,7 @@ document.addEventListener('DOMContentLoaded', function () { toggleKeyboardWASD.ontouchstart = updateSlider.bind(null, toggleKeyboardWASD, toggleState=true) toggleInfo.ontouchstart = updateInfoSlider.bind(null, toggleInfo, toggleState=true) - window.setInterval(renderLoop, 40); // call renderLoop every num milliseconds + window.setInterval(renderLoop, 100); // call renderLoop every num milliseconds }); function updateMobileSlider(sliderElement, toggleState){