Commit 4e801b7a authored by nanahira's avatar nanahira Committed by mercury233

fix (#1133)

The field id in group key should begin with 1
parent 9258c435
......@@ -2007,7 +2007,7 @@ end
function Auxiliary.GetGroupKey(g)
local v=0
for c in Auxiliary.Next(g) do
math.randomseed(c:GetFieldID())
math.randomseed(c:GetFieldID()+1)
v=v+math.random()
end
return v
......
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