Removed connected emit from socket reconnect

This commit is contained in:
Mitchell McCaffrey 2020-10-27 19:05:07 +11:00
parent d159038a7f
commit c741da6f0e

View File

@ -258,7 +258,6 @@ class Session extends EventEmitter {
} }
_handleSocketReconnect() { _handleSocketReconnect() {
this.emit("connected");
console.log("SOCKET RECONNECT"); console.log("SOCKET RECONNECT");
if (this._partyId) { if (this._partyId) {
this.joinParty(this._partyId, this._password); this.joinParty(this._partyId, this._password);