forked from Minetest/dynamic_liquid
add cart rails to the default flow-through types
parent
fb249f27fb
commit
fb5d80c38e
|
@ -1,4 +1,5 @@
|
||||||
default?
|
default?
|
||||||
intllib?
|
intllib?
|
||||||
doc?
|
doc?
|
||||||
xpanes?
|
xpanes?
|
||||||
|
carts?
|
6
init.lua
6
init.lua
|
@ -235,6 +235,12 @@ if flow_through then
|
||||||
add_flow_through("xpanes:bar")
|
add_flow_through("xpanes:bar")
|
||||||
add_flow_through("xpanes:bar_flat")
|
add_flow_through("xpanes:bar_flat")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if minetest.get_modpath("carts") then
|
||||||
|
add_flow_through("carts:rail")
|
||||||
|
add_flow_through("carts:powerrail")
|
||||||
|
add_flow_through("carts:brakerail")
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue