demonlord
demonlord copied to clipboard
Duplicating actor causes token settings to reset
To Duplicate
- Create an actor
- Open Prototype Token and change
"Display Name"
to"Always for Everyone"
- Duplicate this actor
- Open Prototype Token and see
"Display Name"
has reset to"Hovered by Owner"
Expected Behavior
Duplicating an actor will not change customized token settings.
Nothing I change in the system.
If you look at the token is it a linked actor? A unlinked token is a unique copy of the actor and if you change it you don’t change the original actor.
If you copy the actor afterwards you don’t get the changes.
It looks like during the Hooks.on('preCreateActor')
that is called when you duplicate an actor it overwrites whatever settings are set on the prototype token before the duplication.