From 44fb91056bc59f89b7eb5a3cb0f5dc5a4f6b1f42 Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Thu, 9 Mar 2023 23:41:13 -0800 Subject: [PATCH] ensure pressure plate config gets copied to the planned building --- plugins/lua/buildingplan/planneroverlay.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/lua/buildingplan/planneroverlay.lua b/plugins/lua/buildingplan/planneroverlay.lua index 864516436..d90285141 100644 --- a/plugins/lua/buildingplan/planneroverlay.lua +++ b/plugins/lua/buildingplan/planneroverlay.lua @@ -692,6 +692,7 @@ function PlannerOverlay:place_building(placement_data, chosen_items) if k == 'dump_x_shift' then bld.dump_x_shift = uibs.dump_x_shift end if k == 'dump_y_shift' then bld.dump_y_shift = uibs.dump_y_shift end if k == 'speed' then bld.speed = uibs.speed end + if k == 'plate_info' then utils.assign(bld.plate_info, uibs.plate_info) end end table.insert(blds, bld) ::continue::