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