Commit 86dad7c9 authored by Mr.Tan's avatar Mr.Tan

Fix

parent ad21a757
Pipeline #30239 failed with stages
in 49 seconds
......@@ -61,7 +61,7 @@ function s.thop(e,tp,eg,ep,ev,re,r,rp)
rg:Merge(hg)
end
end
if rg and rg:Filter(Card.IsAbleToHand,nil) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
if #rg>0 and rg:Filter(Card.IsAbleToHand,nil) and Duel.SelectYesNo(tp,aux.Stringid(id,3)) then
Duel.BreakEffect()
local thg=rg:FilterSelect(tp,Card.IsAbleToHand,1,1,nil)
Duel.SendtoHand(thg,nil,REASON_EFFECT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment