Fix party join attempt with a connection issue on the home screen

This commit is contained in:
Mitchell McCaffrey 2020-08-28 20:21:03 +10:00
parent 08e43bb9cf
commit 109306f3e4

View File

@ -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);
}
}
}