Use folders

This commit is contained in:
2026-06-08 22:31:10 +02:00
parent 9ee6545a3c
commit 3fe5df7390
57 changed files with 234 additions and 139 deletions
+3 -3
View File
@@ -95,7 +95,7 @@ Hooks.once("ready", async () => {
if (!game.user.isGM) return
if (game.scenes.getName("Map")) return
if (game.scenes.getName("Noxian Expanse")) return
const pack = game.packs.get("fvtt-machine-gods-noxian-expanse.scenes")
if (!pack) {
@@ -104,9 +104,9 @@ Hooks.once("ready", async () => {
}
const index = await pack.getIndex()
const entry = index.find(s => s.name === "Map")
const entry = index.find(s => s.name === "Noxian Expanse")
if (!entry) {
console.warn(`${SYSTEM_ID} | Map scene not found in compendium`)
console.warn(`${SYSTEM_ID} | Noxian Expanse scene not found in compendium`)
return
}