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