job_material_category -> dfhack_material_category

Fixes #330 - submitted by @finndibaenn
develop
Lethosor 2014-09-14 11:13:26 -04:00
parent c4d6c384ae
commit 1ea1b50790
1 changed files with 1 additions and 1 deletions

@ -113,7 +113,7 @@ local function guess_job_material(job)
end
if not mat_mask and mask_whole ~= 0 then
mat_mask = utils.parse_bitfield_int(mask_whole, df.job_material_category)
mat_mask = utils.parse_bitfield_int(mask_whole, df.dfhack_material_category)
if mat_mask.wood2 then
mat_mask.wood = true
mat_mask.wood2 = nil