This commit is contained in:
Joel 2020-05-25 00:03:26 +02:00
parent 8ab1d77d9c
commit c89fee6b05
2 changed files with 2 additions and 2 deletions

View File

@ -273,7 +273,7 @@ class Farm
private int getHighestProductionRate(int x, int y)
{
int i = 1, holderIndex = 0;
int i = 6, holderIndex = 0;
float holder = 0, SampleHolder = 0;
do
{

View File

@ -44,7 +44,6 @@ class SmartTractor
tileSize = newTileSize;
Spacing = newSpacing;
Rotation = rotation;
}
public void init(Vector2 nHousePos)
@ -52,6 +51,7 @@ class SmartTractor
ai.init();
housePos = nHousePos;
farm.init(new Vector2(100, (GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height / tileSize) - 125 / tileSize), housePos / (tileSize + Spacing));
farm.UpdatePreferedCrops(Size);
}
public void drawInventory(Input input, SpriteBatch spriteBatch, SpriteFont Bold, Cargo itemStorageDefined)