aboutsummaryrefslogtreecommitdiff
path: root/advtrains/nodedb.lua
diff options
context:
space:
mode:
authororwell96 <mono96.mml@gmail.com>2018-01-15 13:33:43 +0100
committerGitHub <noreply@github.com>2018-01-15 13:33:43 +0100
commit27afd89d1b337fe4a4d34f2184f4838c2c8722c1 (patch)
tree1d109ad4b6db3bd0064594ab0e11bacfbbe50ead /advtrains/nodedb.lua
parent7507dbba3ae566a6175ad0f63bb599144534e4ee (diff)
downloadadvtrains-27afd89d1b337fe4a4d34f2184f4838c2c8722c1.tar.gz
advtrains-27afd89d1b337fe4a4d34f2184f4838c2c8722c1.tar.bz2
advtrains-27afd89d1b337fe4a4d34f2184f4838c2c8722c1.zip
Use directory delimter constant
Reported by @kostett, probably the cause of buggy nodedb saving
Diffstat (limited to 'advtrains/nodedb.lua')
-rw-r--r--advtrains/nodedb.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/advtrains/nodedb.lua b/advtrains/nodedb.lua
index ab49192..f735b79 100644
--- a/advtrains/nodedb.lua
+++ b/advtrains/nodedb.lua
@@ -52,7 +52,7 @@ local function ndbset(x,y,z,v)
end
-local path=minetest.get_worldpath().."/advtrains_ndb2"
+local path=minetest.get_worldpath()..DIR_DELIM.."advtrains_ndb2"
--load
--nodeids get loaded by advtrains init.lua and passed here
function ndb.load_data(data)