Skip to content

Commit

Permalink
Actually Updated list of people that can see the numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ authored Aug 14, 2023
1 parent ab7af44 commit 0c36f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export function getVisibleUsers(tok) {
cantSee.push(canvas.tokens.get(key)?.actor?.uuid);
}
}
list.concat(game.users.players.filter(u => !cantSee.includes(u?.character?.uuid)).map(u => u.id));
list = list.concat(game.users.players.filter(u => !cantSee.includes(u?.character?.uuid)).map(u => u.id));
} else {
list = game.users.map(u => u.id);
}
Expand Down

0 comments on commit 0c36f1b

Please sign in to comment.