Fix for 20Q: constructCache only once
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user