mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-23 08:16:16 -05:00
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:
parent
b2d2569c6e
commit
f87a137e96
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user