From 8ddc3ad776c02ff6735d7d4fa86ada9220dc2aae Mon Sep 17 00:00:00 2001 From: sladecraven Date: Thu, 6 Oct 2022 12:25:15 +0200 Subject: [PATCH] Fix #102 agitator neutral --- modules/pegasus-utility.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/pegasus-utility.js b/modules/pegasus-utility.js index aef1fc9..524ce71 100644 --- a/modules/pegasus-utility.js +++ b/modules/pegasus-utility.js @@ -1210,9 +1210,6 @@ export class PegasusUtility { let agitatorTokens = canvas.tokens.placeables.filter(token => token.actor.isAgitator() && !token.document.hidden) for (let token of agitatorTokens) { token.refresh() - if (token.document.disposition == 0) { - continue - } let ennemies = [] if (token.document.disposition == -1) { ennemies = canvas.tokens.placeables.filter(newToken => newToken.actor.type == "character" && !newToken.document.hidden && (newToken.document.disposition == 1 || newToken.document.disposition == 0 ))