aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-02-22 11:03:53 +0100
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-02-22 11:03:53 +0100
commit8ca7325d7ce7b0ce141cea7c607e586654343f86 (patch)
treee207cec22ea50d1362b97b8ba964392d2d9e8bcd /advtrains/init.lua
parent81d637dc76317df249a4d290006975141ab1a605 (diff)
parent481f6218a8b377a0826b7e080046b5a890702e12 (diff)
downloadadvtrains-8ca7325d7ce7b0ce141cea7c607e586654343f86.tar.gz
advtrains-8ca7325d7ce7b0ce141cea7c607e586654343f86.tar.bz2
advtrains-8ca7325d7ce7b0ce141cea7c607e586654343f86.zip
Merge https://github.com/orwell96/advtrains into log
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r--advtrains/init.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index 57850db..d7bff4d 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -141,7 +141,8 @@ advtrains.meseconrules =
{x=0, y=1, z=-1},
{x=0, y=-1, z=-1},
{x=0, y=-2, z=0}}
-
+
+advtrains.fpath=minetest.get_worldpath().."/advtrains"
dofile(advtrains.modpath.."/path.lua")
dofile(advtrains.modpath.."/trainlogic.lua")
@@ -160,12 +161,15 @@ dofile(advtrains.modpath.."/misc_nodes.lua")
dofile(advtrains.modpath.."/crafting.lua")
dofile(advtrains.modpath.."/craft_items.lua")
+dofile(advtrains.modpath.."/log.lua")
+
if minetest.global_exists("digtron") then
dofile(advtrains.modpath.."/digtron.lua")
end
--load/save
+
advtrains.fpath=minetest.get_worldpath().."/advtrains"
dofile(advtrains.modpath.."/log.lua")