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
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
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
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