Merge pull request #507 from Entrox-Licher/living-ink-fix

Added check for odd Living Ink customization order
This commit is contained in:
Chr1Z 2023-12-18 00:03:28 +01:00 committed by GitHub
commit 8732e438d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -420,6 +420,9 @@ function handleCustomizableUpgrades(cardList, customizations)
elseif baseId == "09079" then -- Living Ink skill selection elseif baseId == "09079" then -- Living Ink skill selection
-- All skills, regardless of row, are placed in upgrade slot 1 as a comma-delimited -- All skills, regardless of row, are placed in upgrade slot 1 as a comma-delimited
-- list -- list
if selectedUpgrades[1] == nil then
selectedUpgrades[1] = { }
end
if selectedUpgrades[1].text == nil then if selectedUpgrades[1].text == nil then
selectedUpgrades[1].text = str selectedUpgrades[1].text = str
else else