Fix for 20Q: constructCache only once

This commit is contained in:
Vlyan
2021-01-04 11:24:45 +01:00
parent 8ae018c6cb
commit 404509a998

View File

@@ -82,7 +82,9 @@ export class TwentyQuestionsDialog extends FormApplication {
* @override * @override
*/ */
async _render(force = false, options = {}) { async _render(force = false, options = {}) {
if (this.cache === null) {
await this._constructCache(); await this._constructCache();
}
return super._render(force, options); return super._render(force, options);
} }