From 3829c6542f4f54a50165eccca8592fd3c9cd2390 Mon Sep 17 00:00:00 2001 From: mbartlett21 <29034492+mbartlett21@users.noreply.github.com> Date: Mon, 9 Sep 2019 18:27:20 +1000 Subject: [PATCH] Make gate width same as fences --- mods/doors/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/doors/init.lua b/mods/doors/init.lua index 053dae9d..7c9caf8a 100644 --- a/mods/doors/init.lua +++ b/mods/doors/init.lua @@ -769,7 +769,7 @@ function doors.register_fencegate(name, def) fence_closed.sound = "doors_fencegate_open" fence_closed.collision_box = { type = "fixed", - fixed = {-1/2, -1/2, -1/4, 1/2, 1/2 + fence_collision_extra, 1/4}, + fixed = {-1/2, -1/2, -1/8, 1/2, 1/2 + fence_collision_extra, 1/8}, } local fence_open = table.copy(fence) @@ -779,7 +779,7 @@ function doors.register_fencegate(name, def) fence_open.groups.not_in_creative_inventory = 1 fence_open.collision_box = { type = "fixed", - fixed = {{-1/2, -1/2, -1/4, -3/8, 1/2 + fence_collision_extra, 1/4}, + fixed = {{-1/2, -1/2, -1/8, -3/8, 1/2 + fence_collision_extra, 1/8}, {-1/2, -3/8, -1/2, -3/8, 3/8, 0}}, }