From 95a7f7e2e8a7397e25d73724d6e97346e439f991 Mon Sep 17 00:00:00 2001 From: Haxxer Date: Wed, 29 Nov 2023 22:30:07 +0000 Subject: [PATCH] Fixes --- src/helpers/pile-utilities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);