Prevent soft lockup if an error occurs

This commit is contained in:
Unrud 2022-02-22 23:36:56 +01:00
parent a9117b82ad
commit b748aceaf9

View file

@ -155,6 +155,7 @@ var controller = (function() {
if (updateTimoueActive && !fromTimeout) {
return;
}
updateTimoueActive = false;
var finished = true;
var xInt = Math.trunc(moveXSum);
var yInt = Math.trunc(moveYSum);