[Fix] Party And Effect Minifixes (#1337)

* .

* Added migration to remove ghosts from the TagTeamDialog
This commit is contained in:
WBHarry 2025-11-25 23:20:07 +01:00 committed by GitHub
parent d616ddc113
commit 44b805d0df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 55 additions and 2 deletions

View file

@ -51,7 +51,7 @@ export default class EffectsField extends fields.ArrayField {
let effects = this.effects;
const messageTargets = [];
targets.forEach(async baseToken => {
if (this.hasSave && token.saved.success === true) effects = this.effects.filter(e => e.onSave === true);
if (this.hasSave && baseToken.saved.success === true) effects = this.effects.filter(e => e.onSave === true);
if (!effects.length) return;
const token =