Commit 8615fd1c authored by nanahira's avatar nanahira

fix

parent e1b28d9f
...@@ -35,7 +35,7 @@ function Auxiliary.PreloadUds() ...@@ -35,7 +35,7 @@ function Auxiliary.PreloadUds()
e2:SetTarget(function(e,c) e2:SetTarget(function(e,c)
local code1,code2=c:GetOriginalCodeRule() local code1,code2=c:GetOriginalCodeRule()
local turnID=c:IsOnField() and c:GetTurnID() or 99 local turnID=c:IsOnField() and c:GetTurnID() or 99
return and _.any(_FORBID_LIST,function(m) return _.any(_FORBID_LIST,function(m)
return (code1==m.code or code2==m.code) and turnID>=m.turn return (code1==m.code or code2==m.code) and turnID>=m.turn
end) 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