Commit 77a37fb0 authored by HidarimeYume's avatar HidarimeYume Committed by GitHub

Fix GetLinkGount() (#2875)

parent 603bbcb6
...@@ -2251,7 +2251,7 @@ function Auxiliary.LExtraFilter(c,f,lc,tp) ...@@ -2251,7 +2251,7 @@ function Auxiliary.LExtraFilter(c,f,lc,tp)
return false return false
end end
function Auxiliary.GetLinkCount(c) function Auxiliary.GetLinkCount(c)
if c:IsType(TYPE_LINK) and c:GetLink()>1 then if c:IsLinkType(TYPE_LINK) and c:GetLink()>1 then
return 1+0x10000*c:GetLink() return 1+0x10000*c:GetLink()
else return 1 end else return 1 end
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment