forked from public/foundryvtt-wh4-lang-fr-fr
Fix scripts !
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
let tokenImg = ""; // Put path to token image here, inbetween the quotation marks
|
||||
if (tokenImg)
|
||||
{
|
||||
if (this.effet.getFlag("wfrp4e", "transformed"))
|
||||
if (this.effect.getFlag("wfrp4e", "transformed"))
|
||||
{
|
||||
await this.effect.setFlag("wfrp4e", "transformed", false);
|
||||
this.actor.getActiveTokens().forEach(t => t.document.update({texture : {src: this.actor.prototypeToken.texture.src}}));
|
||||
|
||||
Reference in New Issue
Block a user