This commit is contained in:
2025-04-01 12:54:53 +02:00
parent f97ad8b2cf
commit 5a2eaf74ca

View File

@@ -27,9 +27,8 @@ class GameManager {
if(!wasInLobby) user.socket.disconnect(); if(!wasInLobby) user.socket.disconnect();
const code = this.generateNonExistingCode(); // Checken ob lobby existiert
const game = new Game(this.io, this, code); // neuen Lobby erstellen Aufgabe
this.games.set(code, game);
} }
generateNonExistingCode() { generateNonExistingCode() {