mirror of
git://repo.or.cz/minetest_schemedit.git
synced 2025-01-08 17:10:32 +01:00
Localize DIR_DELIM
This commit is contained in:
parent
bbed49e365
commit
54aa7f35df
6
init.lua
6
init.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user