Skip to content

Commit

Permalink
fix: Plus align
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekCornerGH committed Jan 17, 2025
1 parent 1348a0a commit 05f2d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/game/generatePlayerList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default async function generatePlayerList(client: Client, game: unoGame):
count: game.cards[e].length,
cards: ` - ${game.cards[e].length.toString().padStart(Math.max(...Object.values(game.cards).map(v => v.length.toString().length)), "")}`,
name: username?.padEnd(Math.max(...Object.values(usernames).map(el => el.length)), ""),
plus: game.currentPlayer === e ? "+ " : "",
plus: game.currentPlayer === e ? "+ " : " ",
lng: game.locale
});
else string += username + "\n";
Expand Down

0 comments on commit 05f2d0d

Please sign in to comment.