diff --git a/src/helpers/Session.js b/src/helpers/Session.js index 92aae51..7343c72 100644 --- a/src/helpers/Session.js +++ b/src/helpers/Session.js @@ -238,7 +238,9 @@ class Session extends EventEmitter { _handleSocketReconnect() { this.emit("connected"); - this.joinParty(this._partyId, this._password); + if (this._partyId) { + this.joinParty(this._partyId, this._password); + } } }