Commit 8178625a authored by nanahira's avatar nanahira

fix

parent 62032b2a
...@@ -47,7 +47,7 @@ function Auxiliary.PreloadUds() ...@@ -47,7 +47,7 @@ function Auxiliary.PreloadUds()
end end
end end
Duel.DisableShuffleCheck() Duel.DisableShuffleCheck()
local needShuffle=tg:Exists(Card.IsLocation,1,nil,LOCATION_DECK) local needShuffle=tg:IsExists(Card.IsLocation,1,nil,LOCATION_DECK)
if Duel.SendtoGrave(tg,REASON_RULE)>0 then if Duel.SendtoGrave(tg,REASON_RULE)>0 then
local og=Duel.GetOperatedGroup():Filter(Card.IsLocation,nil,LOCATION_GRAVE) local og=Duel.GetOperatedGroup():Filter(Card.IsLocation,nil,LOCATION_GRAVE)
for oc in aux.Next(og) do for oc in aux.Next(og) do
......
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