Skip to content

Commit e51047e

Browse files
committed
"Lord British Space Fighter" update
Prevent script errors when the player could not choose any of the options with its mandatory effect
1 parent d8682f6 commit e51047e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

official/c35514096.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ function s.efftg(e,tp,eg,ep,ev,re,r,rp,chk,chkc)
2121
local b2=Duel.IsExistingTarget(Card.IsFacedown,tp,LOCATION_ONFIELD,LOCATION_ONFIELD,1,nil)
2222
local b3=Duel.GetLocationCount(tp,LOCATION_MZONE)>0
2323
and Duel.IsPlayerCanSpecialSummonMonster(tp,TOKEN_MULTI,0,TYPES_TOKEN,1200,1200,4,RACE_MACHINE,ATTRIBUTE_LIGHT)
24+
if not (b1 or b2 or b3) then return end
2425
local op=Duel.SelectEffect(tp,
2526
{b1,aux.Stringid(id,1)},
2627
{b2,aux.Stringid(id,2)},

0 commit comments

Comments
 (0)