From f1c0f509601e448214a3ce0de674171907c69262 Mon Sep 17 00:00:00 2001 From: "Kyle J. Kemp" Date: Wed, 9 Oct 2024 20:55:36 -0500 Subject: [PATCH] fix script generating spell names --- _transformers/helpers/stems.js | 2 +- mods/BaseGameContent.rairmod | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_transformers/helpers/stems.js b/_transformers/helpers/stems.js index 9ceae97..3f95864 100644 --- a/_transformers/helpers/stems.js +++ b/_transformers/helpers/stems.js @@ -4,7 +4,7 @@ function handleSpells(spells) { const spellData = spells.reduce((prev, s) => { const baseSpell = s.spell; - baseSpell.spellName ??= s._gameId; + baseSpell.spellName ||= s._gameId; baseSpell.spellMeta ||= {}; baseSpell.spellMeta.spellRef ||= s._gameId; diff --git a/mods/BaseGameContent.rairmod b/mods/BaseGameContent.rairmod index 9483dde..5007371 100644 --- a/mods/BaseGameContent.rairmod +++ b/mods/BaseGameContent.rairmod @@ -3,7 +3,7 @@ "name": "BaseGameContent", "author": "Seiyria", "version": 1, - "savedAt": 1728502223072, + "savedAt": 1728502225390, "dependencies": [] }, "npcs": [