Skip to content

Commit

Permalink
no need to filter multiplayer profile now
Browse files Browse the repository at this point in the history
  • Loading branch information
k2xl committed Jun 21, 2024
1 parent 78450f1 commit 6f0b3a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,6 @@ export default function MyApp({ Component, pageProps, userAgent, initGame }: App
if (player.multiplayerProfile === undefined) {
return;
}

player.multiplayerProfile = (player.multiplayerProfile as MultiplayerProfile[]).filter(profile => profile.gameId?.toString() === selectedGame.id)[0];
});
setMultiplayerSocket(prevMultiplayerSocket => {
return {
Expand Down

0 comments on commit 6f0b3a1

Please sign in to comment.