Skip to content

Commit 9798d6f

Browse files
authored
"Rank-Up-Magic - The Seventh One (Anime)" fix
Fixed a small error caused by an invalid comparison.
1 parent 632f2e3 commit 9798d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unofficial/c513000008.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ function s.tgfilter(c,e,tp,mmzone_chk)
2121
if c:IsLocation(LOCATION_MZONE) then
2222
return c:IsFaceup() and c:IsCanBeEffectTarget(e)
2323
elseif c:IsLocation(LOCATION_GRAVE) then
24-
return mmzone_chk>0 and c:IsCanBeEffectTarget(e) and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
24+
return mmzone_chk and c:IsCanBeEffectTarget(e) and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
2525
elseif c:IsLocation(LOCATION_EXTRA) then
2626
return Duel.GetLocationCountFromEx(tp,tp,nil,c)>0 and c:IsCanBeSpecialSummoned(e,0,tp,true,false)
2727
end

0 commit comments

Comments
 (0)