diff --git a/init.lua b/init.lua index 0ed5ca9..66f477a 100755 --- a/init.lua +++ b/init.lua @@ -106,9 +106,9 @@ do retroactive = true, func = function(name, def) if def.groups and def.groups.door then - local panel = def.drop_in_place -- The panel version of the door. - local pin = def.drop -- Dropped item is the door's pin. - replace_panel_on_rightclick(panel.name, pin.name) + local panel = def.drop_in_place.name -- The panel version of the door. + local pin = def.drop_non_silktouch or def.drop -- Dropped item is the door's pin. + replace_panel_on_rightclick(panel, pin) end end, })