Roomsettings: Fix a couple of bugs (#2900)

These were just a few typos that messed up roomsettings a little bit.
This commit is contained in:
panpawn 2016-11-18 01:07:15 -05:00 committed by Slayer95
parent b2d2569c6e
commit f87a137e96

View File

@ -101,7 +101,7 @@ class RoomSettings {
if (this.room.slowchat === i) {
slowchatOutput.push(this.button(`${i}s`, true));
} else {
slowchatOutput.push(this.button(`{i}s`, null, `slowchat ${i}`));
slowchatOutput.push(this.button(`${i}s`, null, `slowchat ${i}`));
}
}
if (!this.room.slowchat) {
@ -119,7 +119,7 @@ class RoomSettings {
} else if (this.room.toursEnabled === '%') {
return this.button('%', true) + this.button('@', null, 'tournament enable @') + this.button('#', null, 'tournament disable');
} else {
return this.button('%', null, 'tournament enable %') + this.button('@', 'tournament enable @') + this.button('#', true);
return this.button('%', null, 'tournament enable %') + this.button('@', null, 'tournament enable @') + this.button('#', true);
}
}
generateDisplay(user, room, connection) {