Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
01010100b committed Sep 15, 2021
1 parent e93290d commit 3e5f320
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Unary/Operations/GatherOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -89,7 +89,7 @@ private void DoWood()

private void DoGold()
{
var range = 4;
var range = 5;
if (Dropsite[ObjectData.BASE_TYPE] == 109)
{
range = 7;
Expand All @@ -114,7 +114,7 @@ private void DoGold()

private void DoStone()
{
var range = 4;
var range = 5;
if (Dropsite[ObjectData.BASE_TYPE] == 109)
{
range = 7;
Expand Down Expand Up @@ -238,7 +238,7 @@ private List<Unit> GetMeat()

private List<Unit> GetBerries()
{
var range = 4;
var range = 5;
if (Dropsite[ObjectData.BASE_TYPE] == 109)
{
range = 7;
Expand Down Expand Up @@ -282,6 +282,7 @@ private void DoGathering(List<Unit> units, List<Unit> resources)
return;
}

units.Sort((a, b) => a[ObjectData.ID].CompareTo(b[ObjectData.ID]));
var assigned = new Dictionary<int, int>();
var unassigned_gatherers = new List<Unit>();

Expand Down

0 comments on commit 3e5f320

Please sign in to comment.