diff --git a/scripts/modtools/item-trigger.lua b/scripts/modtools/item-trigger.lua index 740e32fbf..4ad30315c 100644 --- a/scripts/modtools/item-trigger.lua +++ b/scripts/modtools/item-trigger.lua @@ -238,7 +238,7 @@ if args.itemType then local temp for _,itemdef in ipairs(df.global.world.raws.itemdefs.all) do if itemdef.id == args.itemType then - temp = itemdef.subtype + temp = args.itemType --itemdef.subtype break end end