[Fix] Creation/Levelup disable finish button (#969)

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

* Raised system version
This commit is contained in:
WBHarry 2025-08-16 01:34:22 +02:00 committed by GitHub
parent a07819611e
commit 88be4c953d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 3 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