We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7bd2457 + ca33684 commit a4b1630Copy full SHA for a4b1630
gui/manipulator.lua
@@ -653,7 +653,8 @@ function Spreadsheet:init()
653
data_fn=curry(toggle_sorted_vec_data, wd.assigned_units),
654
toggle_fn=function(unit_id, prev_val)
655
toggle_sorted_vec(wd.assigned_units, unit_id, prev_val)
656
- -- TODO: poke DF to actually apply the work details to units
+ local unit = df.unit.find(unit_id)
657
+ if unit then dfhack.units.setAutomaticProfessions(unit) end
658
end,
659
}
660
0 commit comments