mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
[Fix] Beastform Fixes (#1288)
* Fixed Beastforms getting stuck * Made the wildcard image select dialog scrollable * Beastform button shifts to cancelBeastform
This commit is contained in:
parent
91b1b92d19
commit
fcb9c032ef
9 changed files with 40 additions and 30 deletions
|
|
@ -257,9 +257,10 @@ export const updateActorTokens = async (actor, update) => {
|
|||
/* Update the tokens in all scenes belonging to Actor */
|
||||
for (let token of actor.getDependentTokens()) {
|
||||
const tokenActor = token.baseActor ?? token.actor;
|
||||
if (tokenActor?.id === actor.id) {
|
||||
if (token.id && tokenActor?.id === actor.id) {
|
||||
await token.update({
|
||||
...update
|
||||
...update,
|
||||
_id: token.id
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue