mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-05-09 12:34:58 -05:00
Don't crash when joining room 'constructor'
This commit is contained in:
parent
e90de36e65
commit
290d4d6992
|
|
@ -998,7 +998,7 @@
|
|||
*********************************************************/
|
||||
|
||||
initializeRooms: function() {
|
||||
this.rooms = {};
|
||||
this.rooms = Object.create(null); // {}
|
||||
|
||||
$(window).on('resize', _.bind(this.resize, this));
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user