File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ Template for new versions:
5757- `gui/journal`: Ctrl-j hotkey to launch `gui/journal` now works in adventure mode!
5858
5959## Fixes
60+ - Fix processing error in the overlay that displays unit preferences in the baron selection list
6061
6162## Misc Improvements
6263
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ local function get_preferences(unit)
6464 if not unit then return {} end
6565 local preferences = {}
6666 for _ , pref in ipairs (unit .status .current_soul .preferences ) do
67- if pref .type == df .unitpref_type .LikeItem and pref .active then
67+ if pref .type == df .unitpref_type .LikeItem and pref .flags . visible then
6868 table.insert (preferences , make_item_description (pref .item_type , pref .item_subtype ))
6969 end
7070 end
You can’t perform that action at this time.
0 commit comments