From cdbb66f0d7f6346c14c72f0f67413930dedd0e63 Mon Sep 17 00:00:00 2001 From: "mati108@gmail.com" <34651529+matbenitez@users.noreply.github.com> Date: Mon, 8 Oct 2018 15:52:35 -0300 Subject: [PATCH] Avoiding errors on the log when there are missing images on the team or bot --- FloatingSpace/FloatingLayer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FloatingSpace/FloatingLayer.js b/FloatingSpace/FloatingLayer.js index bfcac264c..fd18e795a 100644 --- a/FloatingSpace/FloatingLayer.js +++ b/FloatingSpace/FloatingLayer.js @@ -503,7 +503,7 @@ function newFloatingLayer() { catch (err) { - if (ERROR_LOG === true) { logger.write("[ERROR] physicsLoop -> drawVisibleObjects -> err.message = " + err.message); } + if (ERROR_LOG === true && INTENSIVE_LOG === true) { logger.write("[ERROR] physicsLoop -> drawVisibleObjects -> err.message = " + err.message); } } }