From f9f6abe7b3c65ee523a205985ff3493d566b914a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Wed, 21 Apr 2021 10:37:20 +0200 Subject: [PATCH] Switching setTimeout to false --- front/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/index.ts b/front/src/index.ts index aab45a9b..89582cd4 100644 --- a/front/src/index.ts +++ b/front/src/index.ts @@ -34,7 +34,7 @@ const fps : Phaser.Types.Core.FPSConfig = { /** * Use setTimeout instead of requestAnimationFrame to run the game loop. */ - forceSetTimeOut: true, + forceSetTimeOut: false, /** * Calculate the average frame delta from this many consecutive frame intervals. */