diff --git a/docs/changelog.txt b/docs/changelog.txt index 06831d065..596cc72cb 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -39,6 +39,7 @@ changelog.txt uses a syntax similar to RST, with a few special sequences: ## Fixes - `command-prompt`: added support for commands that require a specific screen to be visible, e.g. `spotclean` +- `gui/workflow`: fixed advanced constraint menu for crafts ## API - Added ``Screen::Hide`` to temporarily hide screens, like `command-prompt` diff --git a/plugins/lua/workflow.lua b/plugins/lua/workflow.lua index 6c4230a51..9122f290d 100644 --- a/plugins/lua/workflow.lua +++ b/plugins/lua/workflow.lua @@ -185,7 +185,14 @@ end function job_outputs.MakeCrafts(callback, job) local mat_type, mat_index, mat_mask = guess_job_material(job) - callback{ is_craft = true, mat_type = mat_type, mat_index = mat_index, mat_mask = mat_mask } + callback{ + is_craft = true, + item_type = -1, + item_subtype = -1, + mat_type = mat_type, + mat_index = mat_index, + mat_mask = mat_mask + } end local plant_products = {