mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-14 06:49:56 -05:00
Support renaming battles (#1559)
This commit is contained in:
@@ -1736,6 +1736,7 @@ function toId() {
|
||||
return false;
|
||||
}
|
||||
room.id = newid;
|
||||
if (room.battle) room.battle.roomid = newid;
|
||||
room.title = newtitle;
|
||||
room.$el[0].id = 'room-' + newid;
|
||||
this.rooms[newid] = room;
|
||||
|
||||
Reference in New Issue
Block a user