remove check for discovered plants in autofarm

Remove limitation on planting only "discovered" plants in autofarm because there was never any reason for doing so.

Resolves #1988.
develop
Kelly Kinkade 2022-03-15 09:29:33 -05:00 committed by Myk
parent dda487a535
commit d25cd0874a
1 changed files with 5 additions and 8 deletions

@ -187,8 +187,6 @@ public:
} }
for (auto &ci : counts) for (auto &ci : counts)
{
if (df::global::ui->tasks.discovered_plants[ci.first])
{ {
df::plant_raw* plant = world->raws.plants.all[ci.first]; df::plant_raw* plant = world->raws.plants.all[ci.first];
if (is_plantable(plant)) if (is_plantable(plant))
@ -197,7 +195,6 @@ public:
plantable_plants[plant->index].insert(flagmap.second); plantable_plants[plant->index].insert(flagmap.second);
} }
} }
}
string get_plant_name(int plant_id) string get_plant_name(int plant_id)
{ {