ApplicationV2 GM Toolbox and GM Monitor

This commit is contained in:
Litasa
2025-05-01 12:05:54 +00:00
committed by Vlyan
parent 79979acfc1
commit 9d8c1431be
18 changed files with 958 additions and 575 deletions

View File

@@ -792,7 +792,7 @@ export class RollnKeepDialog extends FormApplication {
const messageId = card.parents(".chat-message").data("message-id");
// Already open ? close it
const app = Object.values(ui.windows).find((e) => e.id === `l5r5e-roll-n-keep-dialog-${messageId}`);
const app = game.l5r5e.HelpersL5r5e.getApplication(`l5r5e-roll-n-keep-dialog-${messageId}`);
if (app) {
app.close();
} else {