aboutsummaryrefslogtreecommitdiff
path: root/advtrains/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'advtrains/init.lua')
-rw-r--r--advtrains/init.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/advtrains/init.lua b/advtrains/init.lua
index 38252ae..d7bff4d 100644
--- a/advtrains/init.lua
+++ b/advtrains/init.lua
@@ -170,6 +170,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