FIx init à 1 again
All checks were successful
Release Creation / build (release) Successful in 50s

This commit is contained in:
2026-04-12 11:08:19 +02:00
parent c37d92af25
commit 343abc32e2
26 changed files with 86 additions and 86 deletions

View File

@@ -713,7 +713,7 @@ export default class LethalFantasyRoll extends Roll {
let initRoll = new Roll(formula, options.data)
await initRoll.evaluate()
let msg = await initRoll.toMessage({ flavor: `Initiative for ${options.actorName}` }, { rollMode: rollContext.visibility })
if (game?.dice3d) {
if (game?.dice3d && initRoll.dice?.length) {
await game.dice3d.waitFor3DAnimationByMessageID(msg.id)
}