尝试修复回合制的回合计算问题
This commit is contained in:
@@ -12,7 +12,12 @@ return{
|
||||
minID=math.min(minID,id2)
|
||||
end
|
||||
end
|
||||
PLY_ALIVE[minMaxID==1e99 and minID or minMaxID].control=true
|
||||
for i=1,#PLY_ALIVE do
|
||||
if PLY_ALIVE[i].sid==(minMaxID==1e99 and minID or minMaxID)then
|
||||
PLY_ALIVE[i].control=true
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
}
|
||||
|
||||
@@ -12,7 +12,12 @@ return{
|
||||
minID=math.min(minID,id2)
|
||||
end
|
||||
end
|
||||
PLY_ALIVE[minMaxID==1e99 and minID or minMaxID].control=true
|
||||
for i=1,#PLY_ALIVE do
|
||||
if PLY_ALIVE[i].sid==(minMaxID==1e99 and minID or minMaxID)then
|
||||
PLY_ALIVE[i].control=true
|
||||
return
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user