Support renaming battles (#1559)

This commit is contained in:
Annika 2020-07-18 03:29:56 -07:00 committed by GitHub
parent 7b204ed336
commit ccb33eb981
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;