Commit 973047af authored by nanahira's avatar nanahira

add a count number to subgroup key

parent 4718355a
......@@ -2010,7 +2010,7 @@ function Auxiliary.GetGroupKey(g)
math.randomseed(c:GetFieldID()+1)
v=v+math.random()
end
return v
return v+#g
end
function Auxiliary.LookupSubGroupCache(cache,sg)
local res=cache[Auxiliary.GetGroupKey(sg)]
......
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