From 05d3427e9fe0f18b95184229bb12afff1eda2104 Mon Sep 17 00:00:00 2001 From: BopItFreak Date: Fri, 5 Jul 2019 19:34:10 -0400 Subject: [PATCH] oops --- src/Room.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Room.js b/src/Room.js index 407711f..9e4dd11 100644 --- a/src/Room.js +++ b/src/Room.js @@ -13,7 +13,7 @@ class Room extends EventEmitter { this.crowndropped = false; this.settings = { lobby: this.isLobby(_id), - visible: settings.visible, + visible: settings.hasOwnProperty('visible') ? settings.visible : true, crownsolo: settings.crownsolo || false, chat: settings.chat || true, color: this.verifyColor(settings.color) || this.getColor(_id),