adjust autogems to work with the workshop profile changes

develop
Ben Lubar 2016-05-14 20:15:49 -05:00
parent 1832e563b7
commit 3af24507a3
1 changed files with 1 additions and 1 deletions

@ -134,7 +134,7 @@ void create_jobs() {
for (auto w = workshops->begin(); w != workshops->end(); ++w) { for (auto w = workshops->begin(); w != workshops->end(); ++w) {
auto workshop = virtual_cast<df::building_workshopst>(*w); auto workshop = virtual_cast<df::building_workshopst>(*w);
auto links = workshop->links.take_from_pile; auto links = workshop->profile.links.take_from_pile;
if (workshop->construction_stage < 3) { if (workshop->construction_stage < 3) {
// Construction in progress. // Construction in progress.