From bdc50a889a03fefbeb1eaa9f6480ff05ed575d38 Mon Sep 17 00:00:00 2001 From: bal7hazar Date: Sun, 15 Dec 2024 22:48:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20black=20screen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/three/scenes/HexagonScene.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/src/three/scenes/HexagonScene.ts b/client/src/three/scenes/HexagonScene.ts index ce6c45bc6..61c616ce1 100644 --- a/client/src/three/scenes/HexagonScene.ts +++ b/client/src/three/scenes/HexagonScene.ts @@ -414,7 +414,11 @@ export abstract class HexagonScene { this.updateLights(); this.updateHighlightPulse(); this.biomeModels.forEach((biome) => { - biome.updateAnimations(deltaTime); + try { + biome.updateAnimations(deltaTime); + } catch (error) { + console.error(`Error updating biome animations:`, error); + } }); }