Skip to content

Commit

Permalink
update to reflect changes in naming
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrielChaoti committed Oct 5, 2023
1 parent d4660e1 commit 345d637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autofish.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ end
function toggle_fishing_labour(state)
-- pass true to state to turn on, otherwise disable
-- find all work details that have fishing enabled:
local work_details = df.global.plotinfo.hauling.work_details
local work_details = df.global.plotinfo.labor_info.work_details
for _,v in pairs(work_details) do
if v.allowed_labors.FISH then
-- set limited to true just in case a custom work detail is being
Expand Down

0 comments on commit 345d637

Please sign in to comment.