From 5290750c5a233c8589a7f4645f76af6f57f964e5 Mon Sep 17 00:00:00 2001 From: Kelly Kinkade Date: Tue, 19 Aug 2025 09:35:20 -0500 Subject: [PATCH] fix enable/disable in husbandry --- husbandry.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/husbandry.lua b/husbandry.lua index f8dd1375e..a5a8bff91 100644 --- a/husbandry.lua +++ b/husbandry.lua @@ -272,10 +272,10 @@ end if dfhack_flags.enable then if dfhack_flags.enable_state then - enabled = true + state.enabled = true start() else - enabled = false + state.enabled = false stop() end persist_state()