Skip to content

Commit

Permalink
Fix trophy logic
Browse files Browse the repository at this point in the history
  • Loading branch information
gc committed Sep 30, 2023
1 parent da257fa commit 9451f11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mahoji/commands/bingo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -933,7 +933,7 @@ Example: \`add_tile:Coal|Trout|Egg\` is a tile where you have to receive a coal
for (const team of result.teams) {
if (!team.trophy) continue;
const trophiesToReceive = BingoTrophies.filter(
trophy => trophy.percentile <= team.trophy!.percentile
trophy => trophy.percentile >= team.trophy!.percentile
);

for (const userID of team.participants.map(t => t.user_id)) {
Expand Down

0 comments on commit 9451f11

Please sign in to comment.