Skip to content

Conversation

@plule
Copy link
Contributor

@plule plule commented Jan 5, 2026

The suspendmanager overlay was relying on dfhack.gui.getSelectedJob(), which looks for a job not only in buildings but also selected or followed units.

Relying on the selected building instead removes these edge cases.

getSelectedJob also prioritize the followed unit over the selected building, but reversing this is not sufficient for cases where the building does not have any job.

Fixes #5681
Fixes #5439

@plule plule force-pushed the fix-follow-overlay branch from 3f92791 to 9560cef Compare January 5, 2026 10:47
@ab9rf ab9rf added this to 53.09-r2 Jan 7, 2026
@github-project-automation github-project-automation bot moved this to Todo in 53.09-r2 Jan 7, 2026
@ab9rf ab9rf moved this from Todo to Review In Progress in 53.09-r2 Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Review In Progress

1 participant