diff --git a/src/client/LocalServer.ts b/src/client/LocalServer.ts index b1aa7a100..09f71e66f 100644 --- a/src/client/LocalServer.ts +++ b/src/client/LocalServer.ts @@ -187,6 +187,7 @@ export class LocalServer { username: this.lobbyConfig.playerName, clientID: this.lobbyConfig.clientID, stats: this.allPlayersStats[this.lobbyConfig.clientID], + cosmetics: this.lobbyConfig.gameStartInfo?.players[0].cosmetics, }, ]; if (this.lobbyConfig.gameStartInfo === undefined) { diff --git a/src/server/GameServer.ts b/src/server/GameServer.ts index 3a99a896c..4aa67cbda 100644 --- a/src/server/GameServer.ts +++ b/src/server/GameServer.ts @@ -675,6 +675,7 @@ export class GameServer { persistentID: this.allClients.get(player.clientID)?.persistentID ?? "", stats, + cosmetics: player.cosmetics, } satisfies PlayerRecord; }, );