Set the finish buttons on levelup and creation to disable after first click

This commit is contained in:
WBHarry 2025-08-15 22:38:49 +02:00
parent 16e931179f
commit fdfeda689a
2 changed files with 6 additions and 2 deletions

View file

@ -494,7 +494,9 @@ export default class DhCharacterCreation extends HandlebarsApplicationMixin(Appl
this.render();
}
static async finish() {
static async finish(_, button) {
button.disabled = true;
const primaryAncestryFeature = this.setup.primaryAncestry.system.primaryFeature;
const secondaryAncestryFeature = this.setup.secondaryAncestry?.uuid
? this.setup.secondaryAncestry.system.secondaryFeature