hotfix
This commit is contained in:
parent
088827b6f8
commit
58a22828f4
|
@ -135,6 +135,10 @@ class Channel extends EventEmitter {
|
|||
let col = getTimeColor();
|
||||
let col2 = new Color(col.r - 0x40, col.g - 0x40, col.b - 0x40);
|
||||
|
||||
if (!this.settings) {
|
||||
this.settings = new RoomSettings(this.server.lobbySettings);
|
||||
}
|
||||
|
||||
this.settings.color = col.toHexa();
|
||||
this.settings.color2 = col.toHexa();
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ class InternalBot {
|
|||
break;
|
||||
case "eval":
|
||||
case "javascript":
|
||||
case "js":
|
||||
if (!isAdmin) return;
|
||||
cl.server.ev(argcat);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue