diff options
| author | Alexander Gavrilov | 2012-05-22 17:50:48 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-05-22 17:50:48 +0400 |
| commit | 65349039f0f735224982bece5ac294300915cb8d (patch) | |
| tree | 874e42dee193fbebe9245151b58e7b234506200b /plugins/workflow.cpp | |
| parent | 9adf310d7f162ba58da764bed2c918487c692f6b (diff) | |
| download | dfhack-65349039f0f735224982bece5ac294300915cb8d.tar.gz dfhack-65349039f0f735224982bece5ac294300915cb8d.tar.bz2 dfhack-65349039f0f735224982bece5ac294300915cb8d.tar.xz | |
Fix workflow bug: properly deduce the output material of BrewDrink jobs.
Diffstat (limited to 'plugins/workflow.cpp')
| -rw-r--r-- | plugins/workflow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/workflow.cpp b/plugins/workflow.cpp index 1092c86a..dbf54607 100644 --- a/plugins/workflow.cpp +++ b/plugins/workflow.cpp @@ -965,6 +965,9 @@ static void compute_job_outputs(color_ostream &out, ProtectedJob *pj) mat.decode(mat.plant->material_defs.type_##tag, \ mat.plant->material_defs.idx_##tag); \ else mat.decode(-1); + case BrewDrink: + PLANT_PROCESS_MAT(DRINK, drink); + break; case MillPlants: PLANT_PROCESS_MAT(MILL, mill); break; |
