This commit is contained in:
WBHarry 2026-04-11 02:18:18 +02:00
parent 154c1c939b
commit 94f9a7a0d2

View file

@ -159,7 +159,7 @@ export default class GroupRollDialog extends HandlebarsApplicationMixin(Applicat
.map(x => ({ value: x.id, label: x.name })); .map(x => ({ value: x.id, label: x.name }));
partContext.selectedMainCharacterDisabled = !selectedMembers.length; partContext.selectedMainCharacterDisabled = !selectedMembers.length;
partContext.canStartGroupRoll = selectedMembers.length > 1; partContext.canStartGroupRoll = selectedMembers.length > 1 && this.mainCharacter?.memberId;
partContext.openForAllPlayers = this.openForAllPlayers; partContext.openForAllPlayers = this.openForAllPlayers;
break; break;
case 'mainCharacter': case 'mainCharacter':
@ -496,7 +496,7 @@ export default class GroupRollDialog extends HandlebarsApplicationMixin(Applicat
msgData = { msgData = {
type: 'dualityRoll', type: 'dualityRoll',
user: game.user.id, user: game.user.id,
title: game.i18n.localize('DAGGERHEART.APPLICATIONS.TagTeamSelect.title'), title: game.i18n.localize('DAGGERHEART.APPLICATIONS.GroupRollSelect.title'),
speaker: cls.getSpeaker({ actor }), speaker: cls.getSpeaker({ actor }),
system: systemData, system: systemData,
rolls: [JSON.stringify(totalRoll)], rolls: [JSON.stringify(totalRoll)],