Fix scripts !

This commit is contained in:
2026-01-29 11:43:28 +01:00
parent 0e8237c233
commit 752a6701c0
104 changed files with 195 additions and 193 deletions

View File

@@ -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}}));