Fence rails: Allow connections to walls
authorTumeniNodes <tumeninodes@gmail.com>
Thu, 11 Oct 2018 18:31:35 +0000 (14:31 -0400)
committerEzhh <owlecho@live.com>
Thu, 11 Oct 2018 18:31:35 +0000 (19:31 +0100)
mods/default/functions.lua

index 367ded0b2a35d1dc1c9660361dbe40b89ddaa98e..1165c89ca5bf7ece5c2661b816a8a3f2ba1a4abc 100644 (file)
@@ -368,7 +368,7 @@ function default.register_fence_rail(name, def)
                                {1/16,  3/16, -1/16, 1/2,  5/16, 1/16},
                                {1/16, -5/16, -1/16, 1/2, -3/16, 1/16}},
                },
-               connects_to = {"group:fence"},
+               connects_to = {"group:fence", "group:wall"},
                inventory_image = fence_rail_texture,
                wield_image = fence_rail_texture,
                tiles = {def.texture},