aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r--advtrains/init.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index a7e5764..a2c2def 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -222,10 +222,12 @@ dofile(advtrains.modpath.."/craft_items.lua")
dofile(advtrains.modpath.."/log.lua")
dofile(advtrains.modpath.."/passive.lua")
-if mesecon then
+if minetest.global_exists("mesecon") then
dofile(advtrains.modpath.."/p_mesecon_iface.lua")
end
-
+if minetest.global_exists("techage") then
+ dofile(advtrains.modpath.."/techage.lua")
+end
dofile(advtrains.modpath.."/lzb.lua")