better logs game join

This commit is contained in:
Evan
2024-11-22 08:55:36 -08:00
parent d79ec05409
commit 931f45a22a
+1 -1
View File
@@ -39,7 +39,7 @@ export function joinLobby(lobbyConfig: LobbyConfig, onjoin: () => void): () => v
const transport = new Transport(lobbyConfig.isLocal, eventBus, lobbyConfig.gameID, lobbyConfig.ip, clientID, playerID, config, lobbyConfig.playerName)
const onconnect = () => {
console.log('Joined game lobby!');
console.log(`Joined game lobby ${lobbyConfig.gameID}`);
transport.joinGame(0)
};
const onmessage = (message: ServerMessage) => {