Skip to content

Commit d1b3084

Browse files
committed
make can_set_labors public (for use by idle-crafting)
1 parent 8133bdb commit d1b3084

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/lua/orders.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ LaborRestrictionsOverlay.ATTRS{
448448
frame={w=57, h=15},
449449
}
450450

451-
local function can_set_labors()
451+
function can_set_labors()
452452
for _,fs in ipairs(dfhack.gui.getFocusStrings(dfhack.gui.getDFViewscreen(true))) do
453453
if fs:endswith('WORKER_ASSIGNMENT') then
454454
return false

0 commit comments

Comments
 (0)