aboutsummaryrefslogtreecommitdiff
path: root/advtrains
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains')
-rw-r--r--advtrains/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index 2ef2879..65e5048 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -171,6 +171,9 @@ end
--load/save
+advtrains.fpath=minetest.get_worldpath().."/advtrains"
+dofile(advtrains.modpath.."/log.lua")
+
function advtrains.avt_load()
local file, err = io.open(advtrains.fpath, "r")
if not file then