From 57fc5142b661a87fcb196e3c417184ac362cb1b3 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Wed, 20 Aug 2025 13:21:45 +0200 Subject: [PATCH] Flag fix --- daggerheart.mjs | 10 +++------- templates/scene/dh-config.hbs | 9 ++++++--- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/daggerheart.mjs b/daggerheart.mjs index 71e2b667..9ed5feb1 100644 --- a/daggerheart.mjs +++ b/daggerheart.mjs @@ -145,15 +145,11 @@ Hooks.once('init', () => { // Make Compendium Dialog resizable foundry.applications.sidebar.apps.Compendium.DEFAULT_OPTIONS.window.resizable = true; - // applications.scene.DhSceneConfigSettings.PARTS.dh = {template: "systems/daggerheart/templates/scene/dh-config.hbs"}; - // applications.scene.DhSceneConfigSettings.TABS.sheet.tabs.push({id: "dh", icon: "fa-solid"}); - - DocumentSheetConfig.registerSheet(foundry.documents.Scene, SYSTEM.id, applications.scene.DhSceneConfigSettings , { - makeDefault: true, - label: "Daggerheart" + DocumentSheetConfig.registerSheet(foundry.documents.Scene, SYSTEM.id, applications.scene.DhSceneConfigSettings, { + makeDefault: true, + label: 'Daggerheart' }); - settingsRegistration.registerDHSettings(); RegisterHandlebarsHelpers.registerHelpers(); diff --git a/templates/scene/dh-config.hbs b/templates/scene/dh-config.hbs index 3a6ad8d4..a9a15fb4 100644 --- a/templates/scene/dh-config.hbs +++ b/templates/scene/dh-config.hbs @@ -2,9 +2,12 @@