Skip to content

Commit

Permalink
Fix usersettings being null
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacialCircumstances committed Oct 29, 2024
1 parent 1f93eee commit 891cdaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/game/container.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 891cdaf

Please sign in to comment.