From d101f90ea21bd7dc1b36fff01b5088d3ff943f44 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Wed, 9 Nov 2022 01:44:17 +0100 Subject: [PATCH] fix this._isCaller variable typo --- client/scripts/network.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scripts/network.js b/client/scripts/network.js index e1383f3d..f83361af 100644 --- a/client/scripts/network.js +++ b/client/scripts/network.js @@ -302,7 +302,7 @@ class RTCPeer extends Peer { _onChannelClosed() { console.log('RTC: channel closed', this._peerId); - if (!this.isCaller) return; + if (!this._isCaller) return; this._connect(this._peerId, true); // reopen the channel }