Localize DIR_DELIM

This commit is contained in:
Wuzzy 2020-05-15 02:51:21 +02:00
parent bbed49e365
commit 54aa7f35df
1 changed files with 2 additions and 4 deletions

View File

@ -3,10 +3,8 @@ local F = minetest.formspec_escape
local schemedit = {}
-- Directory delimeter fallback (normally comes from builtin)
if not DIR_DELIM then
DIR_DELIM = "/"
end
local DIR_DELIM = "/"
local export_path_full = table.concat({minetest.get_worldpath(), "schems"}, DIR_DELIM)
-- truncated export path so the server directory structure is not exposed publicly