fix formapp constructor

This commit is contained in:
Vlyan
2020-12-23 21:00:47 +01:00
parent cf06635b01
commit 6659087a82
4 changed files with 6 additions and 6 deletions

View File

@@ -43,8 +43,8 @@ export class TwentyQuestionsDialog extends FormApplication {
/**
* Create dialog
*/
constructor(options = null, actor = null) {
super(options);
constructor(actor = null, options = {}) {
super({}, options);
this.actor = actor;
this.object = new TwentyQuestions(actor);
this.errors = this.object.validateForm();