From 31579283cdc7490c9ce0a59d68a2803c99ba93eb Mon Sep 17 00:00:00 2001 From: _Bastler <_Bastler@bstly.de> Date: Mon, 20 Sep 2021 15:06:44 +0200 Subject: [PATCH] fix connection type --- front/src/Connexion/ConnectionManager.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/front/src/Connexion/ConnectionManager.ts b/front/src/Connexion/ConnectionManager.ts index eba6f563..6d5c0973 100644 --- a/front/src/Connexion/ConnectionManager.ts +++ b/front/src/Connexion/ConnectionManager.ts @@ -311,6 +311,10 @@ class ConnectionManager { //user connected, set connected store for menu at true userIsConnected.set(true); + + if (this.connexionType === GameConnexionTypes.anonymous) { + this.connexionType = GameConnexionTypes.empty + } } get currentRoom() {