League-of-Foundry-Developers / fvtt-module-theatre

GNU General Public License v3.0
32 stars 41 forks source link

V11: Unstaging an actor with an active emote and restaging causes issues #124

Closed megahead11 closed 1 year ago

megahead11 commented 1 year ago

It seems if you unstage an actor that had an emote active, then restage it, it'll toss this error (and the actor will not show up on stage):

image

The actor will not appear on stage, but if you disable the emote then restage, it will behave as normal.

farling42 commented 1 year ago

Line 4438 of Theatre.js is missing an "await", it should read:

        let texture = await PIXI.Assets.load(resTarget.path);
megahead11 commented 1 year ago

Yup, that appears to be it! Thanks for the help <: