Chargen fix

Fix for Character Creation dialogue box not closing properly.
master
The Happy Anarchist 2021-01-03 15:52:53 -10:00
parent e7d94e6a16
commit 255cdc6b7a
1 changed files with 2 additions and 2 deletions

View File

@ -104,8 +104,7 @@ export class AcksCharacterCreator extends FormApplication {
}); });
} }
async close() { async close(options) {
super.close();
// Gather scores // Gather scores
let scores = {}; let scores = {};
$(this.form.children).find(".score-roll").each((_, d) => { $(this.form.children).find(".score-roll").each((_, d) => {
@ -127,6 +126,7 @@ export class AcksCharacterCreator extends FormApplication {
content: content, content: content,
speaker, speaker,
}); });
return super.close(options);
} }
/** @override */ /** @override */