Skip to content

Commit 809f351

Browse files
committed
shhhh smuggle
1 parent 142849c commit 809f351

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

release.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.0.0~BETA-1016b-STEAMODDED"
1+
return "1.0.0~BETA-1016c-STEAMODDED"

src/utils.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3122,7 +3122,7 @@ function SMODS.card_select_area(card, pack)
31223122
else
31233123
select_area = card.config.center.select_card
31243124
end
3125-
elseif SMODS.ConsumableTypes[card.ability.set].select_card then -- ConsumableType is second priority
3125+
elseif SMODS.ConsumableTypes[card.ability.set] and SMODS.ConsumableTypes[card.ability.set].select_card then -- ConsumableType is second priority
31263126
if type(SMODS.ConsumableTypes[card.ability.set].select_card) == "function" then
31273127
select_area = SMODS.ConsumableTypes[card.ability.set]:select_card(card, pack)
31283128
else
@@ -3146,7 +3146,7 @@ function SMODS.get_select_text(card, pack)
31463146
else
31473147
select_text = localize(card.config.center.select_button_text)
31483148
end
3149-
elseif SMODS.ConsumableTypes[card.ability.set].select_button_text then -- ConsumableType is second priority
3149+
elseif SMODS.ConsumableTypes[card.ability.set] and SMODS.ConsumableTypes[card.ability.set].select_button_text then -- ConsumableType is second priority
31503150
if type(SMODS.ConsumableTypes[card.ability.set].select_button_text) == "function" then
31513151
select_text = SMODS.ConsumableTypes[card.ability.set]:select_button_text(card, pack)
31523152
else

version.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.0.0~BETA-1016b-STEAMODDED"
1+
return "1.0.0~BETA-1016c-STEAMODDED"

0 commit comments

Comments
 (0)