summaryrefslogtreecommitdiff
path: root/mesecons_extrawires/tjunction.lua
diff options
context:
space:
mode:
Diffstat (limited to 'mesecons_extrawires/tjunction.lua')
-rw-r--r--mesecons_extrawires/tjunction.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesecons_extrawires/tjunction.lua b/mesecons_extrawires/tjunction.lua
index 9a520d1..77c4290 100644
--- a/mesecons_extrawires/tjunction.lua
+++ b/mesecons_extrawires/tjunction.lua
@@ -2,13 +2,14 @@ local screwdriver_exists = minetest.global_exists("screwdriver")
local tjunction_nodebox = {
type = "fixed",
+ -- ±0.001 is to prevent z-fighting
fixed = {{ -16/32-0.001, -17/32, -3/32, 16/32+0.001, -13/32, 3/32 },
{ -3/32, -17/32, -16/32+0.001, 3/32, -13/32, -3/32},}
}
local tjunction_selectionbox = {
type = "fixed",
- fixed = { -16/32-0.001, -16/32, -16/32, 16/32+0.001, -12/32, 7/32 },
+ fixed = { -16/32, -16/32, -16/32, 16/32, -12/32, 7/32 },
}
local tjunction_get_rules = function (node)