From 51ccedd5f4d92e39d00e15653ec7832d02f59a05 Mon Sep 17 00:00:00 2001 From: copygirl Date: Fri, 27 Oct 2023 11:30:32 +0200 Subject: [PATCH] Fix unpinnable panels (again) --- init.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, })