Skip to content

Commit

Permalink
"Lord British Space Fighter" fix
Browse files Browse the repository at this point in the history
Undeclared param causing a script error.
  • Loading branch information
pyrQ authored Feb 5, 2025
1 parent a8d5254 commit 2de63b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions official/c35514096.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function s.initial_effect(c)
e1:SetDescription(aux.Stringid(id,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetCondition(function() return e:GetHandler():IsRelateToBattle() end)
e1:SetCondition(function(e) return e:GetHandler():IsRelateToBattle() end)
e1:SetTarget(s.efftg)
e1:SetOperation(s.effop)
c:RegisterEffect(e1)
Expand Down Expand Up @@ -64,4 +64,4 @@ function s.effop(e,tp,eg,ep,ev,re,r,rp)
Duel.SpecialSummon(token,0,tp,tp,false,false,POS_FACEUP)
end
end
end
end

0 comments on commit 2de63b2

Please sign in to comment.