Skip to content

Commit b1c5cf1

Browse files
authored
Update proc_workaround.lua
made `Duel.ConfirmDecktop` also return the group of cards that were revealed
1 parent 7166f76 commit b1c5cf1

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

proc_workaround.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,3 +660,11 @@ do
660660
return c1:IsOnField() and c2:IsOnField() and c1:IsSequence(seq2) and c2:IsSequence(seq1)
661661
end
662662
end
663+
664+
do
665+
local oldfunc=Duel.ConfirmDecktop
666+
function Duel.ConfirmDecktop(player,amount,...)
667+
oldfunc(player,amount,...)
668+
return Duel.GetDecktopGroup(player,amount)
669+
end
670+
end

0 commit comments

Comments
 (0)