From 47b0576c9be1f59f2cb6b4bef01c7c5b09bb22c9 Mon Sep 17 00:00:00 2001 From: Myk Date: Fri, 6 Oct 2023 23:06:11 -0700 Subject: [PATCH] Update autofish.lua --- autofish.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autofish.lua b/autofish.lua index dc7814a1e7..d5ce23d43c 100644 --- a/autofish.lua +++ b/autofish.lua @@ -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.labor_info.work_details + local work_details = df.global.plotinfo.hauling.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