Fixed roll sound coming when canceling a roll. Fixed the leader PART not being disabled when the player isn't the leader

This commit is contained in:
WBHarry 2026-04-11 11:12:42 +02:00
parent dddc8413cb
commit 0d037b40d9
3 changed files with 7 additions and 1 deletions

View file

@ -355,6 +355,7 @@ export default class GroupRollDialog extends HandlebarsApplicationMixin(Applicat
}
});
if (!result) return;
if (!game.modules.get('dice-so-nice')?.active) foundry.audio.AudioHelper.play({ src: CONFIG.sounds.dice });
const rollData = result.messageRoll.toJSON();