From a7a91df55861ab4deeee1a1f099a2bbb826e6686 Mon Sep 17 00:00:00 2001 From: schlagmichdoch Date: Sat, 24 Dec 2022 04:29:47 +0100 Subject: [PATCH] fix force disconnect function --- public/scripts/network.js | 1 - 1 file changed, 1 deletion(-) diff --git a/public/scripts/network.js b/public/scripts/network.js index a5900bc..d993d6c 100644 --- a/public/scripts/network.js +++ b/public/scripts/network.js @@ -81,7 +81,6 @@ class ServerConnection { _onForceDisconnect() { document.cookie = "peerid=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; - this._disconnect(); this._connect(); }