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
*/
async _render(force = false, options = {}) {
await this._constructCache();
if (this.cache === null) {
await this._constructCache();
}
return super._render(force, options);
}