diff --git a/Unary/Operations/GatherOperation.cs b/Unary/Operations/GatherOperation.cs index d563f06..2fb24e6 100644 --- a/Unary/Operations/GatherOperation.cs +++ b/Unary/Operations/GatherOperation.cs @@ -59,7 +59,7 @@ public override void Update() private void DoWood() { - var range = 4; + var range = 5; if (Dropsite[ObjectData.BASE_TYPE] == 109) { range = 7; @@ -89,7 +89,7 @@ private void DoWood() private void DoGold() { - var range = 4; + var range = 5; if (Dropsite[ObjectData.BASE_TYPE] == 109) { range = 7; @@ -114,7 +114,7 @@ private void DoGold() private void DoStone() { - var range = 4; + var range = 5; if (Dropsite[ObjectData.BASE_TYPE] == 109) { range = 7; @@ -238,7 +238,7 @@ private List GetMeat() private List GetBerries() { - var range = 4; + var range = 5; if (Dropsite[ObjectData.BASE_TYPE] == 109) { range = 7; @@ -282,6 +282,7 @@ private void DoGathering(List units, List resources) return; } + units.Sort((a, b) => a[ObjectData.ID].CompareTo(b[ObjectData.ID])); var assigned = new Dictionary(); var unassigned_gatherers = new List();