Skip to content

Commit ebbc935

Browse files
committed
fix crossmod related stuff for create_card
1 parent e10b283 commit ebbc935

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/overrides.lua

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -854,11 +854,7 @@ function create_card(_type, area, legendary, _rarity, skip_materialize, soulable
854854
end
855855

856856
local front = (
857-
(_type == "Base" or _type == "Enhanced")
858-
and (
859-
pseudorandom_element(G.P_CARDS, ps("front" .. (key_append or "") .. G.GAME.round_resets.ante))
860-
or G.P_CARDS["S_T"]
861-
)
857+
SMODS.set_create_card_front and (_type == "Base" or _type == "Enhanced")
862858
) or nil
863859

864860
if area == "ERROR" then
@@ -880,9 +876,6 @@ function create_card(_type, area, legendary, _rarity, skip_materialize, soulable
880876

881877
local card = create_card_ref(_type, area, legendary, _rarity, skip_materialize, soulable, forced_key, key_append)
882878
local center = card and card.config and card.config.center or {}
883-
if front then
884-
card:set_base(front, true)
885-
end
886879
if front and G.GAME.modifiers.cry_force_suit then
887880
card:change_suit(G.GAME.modifiers.cry_force_suit)
888881
end

0 commit comments

Comments
 (0)