mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 04:31:07 +01:00
.
This commit is contained in:
parent
de9a66e1bc
commit
38868fdab6
23 changed files with 86 additions and 104 deletions
|
|
@ -446,10 +446,8 @@ export function itemIsIdentical(a, b) {
|
|||
return compendiumSource && name & description;
|
||||
}
|
||||
|
||||
export function waitForDiceSoNice(message, update) {
|
||||
if (game.modules.get('dice-so-nice')?.active) {
|
||||
game.dice3d.waitFor3DAnimationByMessageID(message.id).then(async () => await update());
|
||||
} else {
|
||||
update();
|
||||
export async function waitForDiceSoNice(message) {
|
||||
if (message && game.modules.get('dice-so-nice')?.active) {
|
||||
await game.dice3d.waitFor3DAnimationByMessageID(message.id);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue