mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Fixed so that the reaction rolls from chat messages work with diceSoNice
This commit is contained in:
parent
53c18d2313
commit
61d93297af
1 changed files with 1 additions and 5 deletions
|
|
@ -142,11 +142,7 @@ export default class SaveField extends fields.SchemaField {
|
||||||
await chatMessage.update(changes);
|
await chatMessage.update(changes);
|
||||||
// }, 100);
|
// }, 100);
|
||||||
};
|
};
|
||||||
if (game.modules.get('dice-so-nice')?.active)
|
await updateMsg(message, targetId, result);
|
||||||
game.dice3d
|
|
||||||
.waitFor3DAnimationByMessageID(result.message.id ?? result.message._id)
|
|
||||||
.then(async () => await updateMsg(message, targetId, result));
|
|
||||||
else await updateMsg(message, targetId, result);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue