From fb5d80c38e9f4a54b85a24ecb2c474b7e94e2f25 Mon Sep 17 00:00:00 2001 From: FaceDeer Date: Sun, 29 Apr 2018 13:54:59 -0600 Subject: [PATCH] add cart rails to the default flow-through types --- depends.txt | 3 ++- init.lua | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/depends.txt b/depends.txt index 7fe8e06..327c6ae 100644 --- a/depends.txt +++ b/depends.txt @@ -1,4 +1,5 @@ default? intllib? doc? -xpanes? \ No newline at end of file +xpanes? +carts? \ No newline at end of file diff --git a/init.lua b/init.lua index bb72b58..47f3ff5 100644 --- a/init.lua +++ b/init.lua @@ -235,6 +235,12 @@ if flow_through then add_flow_through("xpanes:bar") add_flow_through("xpanes:bar_flat") end + + if minetest.get_modpath("carts") then + add_flow_through("carts:rail") + add_flow_through("carts:powerrail") + add_flow_through("carts:brakerail") + end end