Fixed so that the reaction rolls from chat messages work with diceSoNice

This commit is contained in:
WBHarry 2025-12-23 13:56:17 +01:00
parent 53c18d2313
commit 61d93297af

View file

@ -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);
} }
/** /**