Skip to content

Commit b8e4c85

Browse files
committed
Improve log
1 parent adb722f commit b8e4c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/game/game-server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ export class GameServer {
5151
conn.on('error', e => console.error('Conn error', e));
5252

5353
conn.on('open', () => {
54+
console.log('Client connected with id', conn.peer);
5455
game.conn = conn;
5556
game.otherId = conn.peer;
56-
conn.send('Current game state');
5757
});
5858
});
5959

0 commit comments

Comments
 (0)