Skip to content

Commit 1441284

Browse files
authored
Update "Lockout Gardna"
Prevent script error.
1 parent 2f033ce commit 1441284

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

official/c37310367.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function s.initial_effect(c)
99
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
1010
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
1111
e1:SetRange(LOCATION_HAND)
12-
e1:SetCondition(function(e,tp) return Duel.GetAttacker():isControler(1-tp) and Duel.GetAttackTarget()==nil end)
12+
e1:SetCondition(function(e,tp) return Duel.GetAttacker():IsControler(1-tp) and Duel.GetAttackTarget()==nil end)
1313
e1:SetTarget(s.sptg)
1414
e1:SetOperation(s.spop)
1515
c:RegisterEffect(e1)
@@ -69,4 +69,4 @@ function s.disop(e,tp,eg,ep,ev,re,r,rp)
6969
--Negate their effects until the end of this turn
7070
tc:NegateEffects(c,RESETS_STANDARD_PHASE_END)
7171
end
72-
end
72+
end

0 commit comments

Comments
 (0)