mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 04:23:01 -05:00
Merge 7ed2951c40 into 10f8967023
This commit is contained in:
commit
9e635d6eac
|
|
@ -2489,6 +2489,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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user