mirror of
https://github.com/ershisan99/Fantoms-Preview.git
synced 2025-12-16 12:32:48 +00:00
fixed issue where phantom jokers would cause the game to freeze
This commit is contained in:
@@ -79,6 +79,9 @@ function DV.PRE.update_on_card_order_change(cardarea)
|
||||
|
||||
local prev_order = nil
|
||||
if cardarea.config.type == 'joker' and cardarea.cards[1].ability.set == 'Joker' then
|
||||
if cardarea.cards[1].edition and cardarea.cards[1].edition.mp_phantom then
|
||||
return
|
||||
end
|
||||
-- Note that the consumables cardarea also has type 'joker' so must verify by checking first card.
|
||||
prev_order = DV.PRE.joker_order
|
||||
elseif cardarea.config.type == 'hand' then
|
||||
|
||||
Reference in New Issue
Block a user