Skip to content

Commit 84b3ba6

Browse files
authored
Update c31786838.lua
1 parent 9b63f67 commit 84b3ba6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

official/c31786838.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ function s.activate(e,tp,eg,ep,ev,re,r,rp)
4949
local alt=Duel.IsExistingMatchingCard(aux.FaceupFilter(Card.IsSetCard,SET_REGENESIS),tp,LOCATION_MZONE,0,1,nil)
5050
Duel.Hint(HINT_SELECTMSG,tp,aux.Stringid(id,2))
5151
local sc=Duel.SelectMatchingCard(tp,s.thfilter,tp,LOCATION_DECK,0,1,1,nil,alt):GetFirst()
52+
if not sc then return end
5253
if sc:IsSetCard(SET_REGENESIS) then
5354
aux.ToHandOrElse(sc,tp)
5455
else
@@ -72,4 +73,4 @@ function s.spop(e,tp,eg,ep,ev,re,r,rp)
7273
if tc:IsRelateToEffect(e) then
7374
Duel.SpecialSummon(tc,0,tp,tp,false,false,POS_FACEUP)
7475
end
75-
end
76+
end

0 commit comments

Comments
 (0)