private void Update() { cooldown -= Time.deltaTime; if (!jobQueue.ConstructionJobsAvailable() && cooldown <= 0) { if (BoneCost < buildingToBuild.BoneCost) { AskResources(ResourceType.Bones); } if (MeatCost < buildingToBuild.MeatCost) { AskResources(ResourceType.Meat); } cooldown = 60; } }