cswendrowski / FoundryVTT-mmo-hud

Have you heard of the critically acclaimed MMO-style TTRPG HUD with an expanded amount of information which you can play through the entirety of Demon Queen Awakens and the Award Winning Demon Queen Awakens adventure for free with no restrictions on playtime?
MIT License
1 stars 1 forks source link

Actors can appear several times in party list #4

Closed xdy closed 1 year ago

xdy commented 1 year ago

At least in pf2e. It appears that the same actors are added several times in MMOHUD:_getParty. I fixed locally by changing MMOHUD.js:151 to:

        let data = [...new Set(party)].map(a => this.systemConverter.translatePartyActor(a));
cswendrowski commented 1 year ago

Good suggestion, thanks!