Move towards center when harvesting resources

This commit is contained in:
2024-02-13 13:24:28 +01:00
parent acebdceb6c
commit 2c0ceb026b
4 changed files with 10 additions and 8 deletions

View File

@@ -383,7 +383,7 @@ void loadMap(Game *game, const char *path, bool mainMenu) {
.harvestTarget = nearest.entity,
.harvestPos = nearest.pos
},
.proximity = 8.0f,
.proximity = 4.0f,
});
Worker *worker = ecs_get_mut(ECS, workers[i].entity, Worker);
worker->carryRes = resType;