From 7ed2951c40f31f4fa57365244f9a1906c3b4b4cd Mon Sep 17 00:00:00 2001 From: p9 Date: Sat, 11 Apr 2026 16:01:06 +0530 Subject: [PATCH] Preact: Add support for helpticket rooms --- play.pokemonshowdown.com/src/client-main.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/play.pokemonshowdown.com/src/client-main.ts b/play.pokemonshowdown.com/src/client-main.ts index 503e281e7..dafbb5897 100644 --- a/play.pokemonshowdown.com/src/client-main.ts +++ b/play.pokemonshowdown.com/src/client-main.ts @@ -2486,6 +2486,10 @@ export const PS = new class extends PSModel { } } if (options.id.startsWith('battle-') && PS.prefs.rightpanelbattles) options.location = 'right'; + if (options.id.startsWith('help-')) { + options.location = 'right'; + options.type = 'chat'; + } options.parentRoomid ??= this.getRoom(options.parentElem)?.id; const parentRoom = options.parentRoomid ? this.rooms[options.parentRoomid] : null; let preexistingRoom = this.rooms[options.id];