diff --git a/src/helpers/pile-utilities.js b/src/helpers/pile-utilities.js index 2ee18ff8..2e2f1302 100644 --- a/src/helpers/pile-utilities.js +++ b/src/helpers/pile-utilities.js @@ -187,7 +187,7 @@ export function getItemPileTokens(filter = false) { const validTokensOnScenes = allTokensOnScenes.map(([scene, tokens]) => [ scene, tokens.filter((token) => { - return filter ? !filter(token) : true; + return filter ? filter(token) : true; }) ]).filter(([_, tokens]) => tokens.length);