From 109306f3e4d230f5cac964ce68c79406dc51cec3 Mon Sep 17 00:00:00 2001 From: Mitchell McCaffrey Date: Fri, 28 Aug 2020 20:21:03 +1000 Subject: [PATCH] Fix party join attempt with a connection issue on the home screen --- src/helpers/Session.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); + } } }