Changed diceFaces->dieFaces for consistency

This commit is contained in:
WBHarry 2026-04-16 09:57:16 +02:00
parent 91aff8b10d
commit 16c07d23bb
2 changed files with 2 additions and 2 deletions

View file

@ -123,7 +123,7 @@ export default class D20RollDialog extends HandlebarsApplicationMixin(Applicatio
context.advantage = this.config.roll?.advantage;
context.disadvantage = this.config.roll?.disadvantage;
context.diceOptions = CONFIG.DH.GENERAL.diceTypes;
context.diceFaces = CONFIG.DH.GENERAL.dieFaces.reduce((acc, face) => {
context.dieFaces = CONFIG.DH.GENERAL.dieFaces.reduce((acc, face) => {
acc[face] = `d${face}`;
return acc;
}, {});

View file

@ -158,7 +158,7 @@
{{/times}}
</select>
<select name="roll.dice.advantageFaces"{{#unless advantage}} disabled{{/unless}} data-dtype="Number">
{{selectOptions diceFaces selected=@root.roll.advantageFaces}}
{{selectOptions dieFaces selected=@root.roll.advantageFaces}}
</select>
</div>
{{#if abilities}}