From 255cdc6b7a6185eab1c2176670ba84fdc3dde01f Mon Sep 17 00:00:00 2001 From: The Happy Anarchist Date: Sun, 3 Jan 2021 15:52:53 -1000 Subject: [PATCH] Chargen fix Fix for Character Creation dialogue box not closing properly. --- src/module/dialog/character-creation.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module/dialog/character-creation.js b/src/module/dialog/character-creation.js index fdededc..ae8cce3 100644 --- a/src/module/dialog/character-creation.js +++ b/src/module/dialog/character-creation.js @@ -104,8 +104,7 @@ export class AcksCharacterCreator extends FormApplication { }); } - async close() { - super.close(); + async close(options) { // Gather scores let scores = {}; $(this.form.children).find(".score-roll").each((_, d) => { @@ -127,6 +126,7 @@ export class AcksCharacterCreator extends FormApplication { content: content, speaker, }); + return super.close(options); } /** @override */