Skip to content

Commit

Permalink
0 is a valid teamId
Browse files Browse the repository at this point in the history
this should fix #26
  • Loading branch information
jmlee337 committed Apr 21, 2024
1 parent 5125db6 commit 1c8af53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1052,7 +1052,7 @@ function Hello() {
if (
(player.playerType === 0 || player.playerType === 1) &&
!usedK.has(k) &&
(!teamId || teamId === player.teamId)
(teamId === undefined || teamId === player.teamId)
) {
slots[j].displayNames.push(
player.playerOverrides.displayName || player.displayName,
Expand Down

0 comments on commit 1c8af53

Please sign in to comment.