Commit babbdbbd authored by mercury233's avatar mercury233 Committed by GitHub

fix 聖なる守り手

parent 84ab17a2
......@@ -37,8 +37,7 @@ end
function c1347977.activate(e,tp,eg,ep,ev,re,r,rp)
local ex,g1=Duel.GetOperationInfo(0,CATEGORY_TODECK)
local ex,g2=Duel.GetOperationInfo(0,CATEGORY_TOHAND)
local tc1=g1:GetFirst()
if tc1 and tc1:IsRelateToEffect(e) then
if g1 and g1:GetFirst():IsRelateToEffect(e) then
Duel.SendtoDeck(g1,nil,0,REASON_EFFECT)
end
if g2 and g2:GetFirst():IsRelateToEffect(e) then
......
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