Skip to content

ArtSelect is not defined #220

Description

@ottoloot

Describe the bug
The popup that says "Apply the same art to token?" results in an error, even though it does appear to work. I get an error and the prompt won't disappear until I close it, but it does seem to set the same artwork.

Screenshots

Image

FoundryVTT 351
PF2E 7.11.2

My Fix:

I changed
const n=Object.values(ui.windows).filter((e=>e instanceof ArtSelect));

to
const n=Object.values(ui.windows).filter(e=>e?.constructor?.name==="ArtSelect");

in the token-variants.js

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementedFix/Feature has been coded and will be included in the next release.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions