From 891cdafa76c66a380ad3e6024f46b3151c79d1af Mon Sep 17 00:00:00 2001 From: SpacialCircumstances Date: Tue, 29 Oct 2024 20:19:07 +0100 Subject: [PATCH] Fix usersettings being null --- client/src/game/container.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/game/container.js b/client/src/game/container.js index 718ec520f..38f5f2d58 100644 --- a/client/src/game/container.js +++ b/client/src/game/container.js @@ -195,7 +195,7 @@ class GameContainer { draw () { this.map.draw() - if ( import.meta.env.DEV || userSettings?.technical?.performanceMonitor === 'enabled') { + if ( import.meta.env.DEV || this.userSettings?.technical?.performanceMonitor === 'enabled') { let bitmapFont = {fontName: "chakrapetch", fontSize: 16} let left = 64 let top = 32