From c8a37ab06f16dc8f765c34badee694f8bc1734bc Mon Sep 17 00:00:00 2001 From: Vlyan Date: Sun, 17 Jan 2021 13:38:18 +0100 Subject: [PATCH] Gm dialog : not closable anymore (esc key) --- system/scripts/dice/gm-tools-dialog.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/system/scripts/dice/gm-tools-dialog.js b/system/scripts/dice/gm-tools-dialog.js index 8294d41..baf2e9b 100644 --- a/system/scripts/dice/gm-tools-dialog.js +++ b/system/scripts/dice/gm-tools-dialog.js @@ -43,6 +43,14 @@ export class GmToolsDialog extends FormApplication { }; } + /** + * Do not close this dialog + * @override + */ + close() { + // nothing ! + } + /** * Prevent non GM to render this windows * @override