diff --git a/gui/job-details.lua b/gui/job-details.lua index db79108c66..bfb26494a8 100644 --- a/gui/job-details.lua +++ b/gui/job-details.lua @@ -301,6 +301,11 @@ function JobDetails:initListChoices() end function JobDetails:canChangeIType() + if dfhack.getHideArmokTools() then + -- as this could be considered an exploit + return false + end + local idx, obj = self.list:getSelected() return obj ~= nil end