Skip to content

Commit 98f25ba

Browse files
committed
Fix missing player name 🏷
1 parent f8d8c4f commit 98f25ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

client/src-main/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ function createWindow() {
6363
complete: () => console.log('done'),
6464
})
6565

66+
setTimeout(() => {
67+
win.webContents.send('playerId', client.myId)
68+
}, 2000)
69+
6670
ipcMain.on('app-ready', () => {
6771
win.webContents.send('playerId', client.myId)
6872

0 commit comments

Comments
 (0)