diff --git a/src/playercards/PlayerCardPanel.ttslua b/src/playercards/PlayerCardPanel.ttslua index 7e046add..0106352c 100644 --- a/src/playercards/PlayerCardPanel.ttslua +++ b/src/playercards/PlayerCardPanel.ttslua @@ -640,13 +640,13 @@ function spawnWeaknesses() end local weaknessIdList = allCardsBag.call("getUniqueWeaknesses") local basicWeaknessList = { } - local campaignWeaknessList = { } + local otherWeaknessList = { } for i, id in ipairs(weaknessIdList) do local cardMetadata = allCardsBag.call("getCardById", { id = id }).metadata if cardMetadata.basicWeaknessCount ~= nil and cardMetadata.basicWeaknessCount > 0 then table.insert(basicWeaknessList, id) elseif excludedNonBasicWeaknesses[id] == nil then - table.insert(campaignWeaknessList, id) + table.insert(otherWeaknessList, id) end end local groupPos = Vector(START_POSITIONS.classCards) @@ -669,8 +669,8 @@ function spawnWeaknesses() }) groupPos.x = groupPos.x - math.ceil(#EVOLVED_WEAKNESSES / 20) * CARD_ROW_OFFSET - CARD_GROUP_OFFSET spawnBag.spawn({ - name = "campaignWeaknesses", - cards = campaignWeaknessList, + name = "otherWeaknesses", + cards = otherWeaknessList, globalPos = groupPos, rotation = FACE_UP_ROTATION, spread = true,