forked from Hri7566/mpp-server-dev2
oops
This commit is contained in:
parent
c094582f9e
commit
05d3427e9f
|
@ -13,7 +13,7 @@ class Room extends EventEmitter {
|
||||||
this.crowndropped = false;
|
this.crowndropped = false;
|
||||||
this.settings = {
|
this.settings = {
|
||||||
lobby: this.isLobby(_id),
|
lobby: this.isLobby(_id),
|
||||||
visible: settings.visible,
|
visible: settings.hasOwnProperty('visible') ? settings.visible : true,
|
||||||
crownsolo: settings.crownsolo || false,
|
crownsolo: settings.crownsolo || false,
|
||||||
chat: settings.chat || true,
|
chat: settings.chat || true,
|
||||||
color: this.verifyColor(settings.color) || this.getColor(_id),
|
color: this.verifyColor(settings.color) || this.getColor(_id),
|
||||||
|
|
Loading…
Reference in New Issue