mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +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);
|
||||
// }, 100);
|
||||
};
|
||||
if (game.modules.get('dice-so-nice')?.active)
|
||||
game.dice3d
|
||||
.waitFor3DAnimationByMessageID(result.message.id ?? result.message._id)
|
||||
.then(async () => await updateMsg(message, targetId, result));
|
||||
else await updateMsg(message, targetId, result);
|
||||
await updateMsg(message, targetId, result);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue