mirror of
https://github.com/minetest-mods/saveschems.git
synced 2024-12-23 01:10:32 +01:00
properly pass mts format string.
https://github.com/paramat/saveschems/issues/1
This commit is contained in:
parent
bda4a4c836
commit
e7154884fb
2
init.lua
2
init.lua
@ -2,7 +2,7 @@
|
||||
-- Schematic file format version 4
|
||||
|
||||
local mts_save = function(name, schematic)
|
||||
local s = minetest.serialize_schematic(schematic, mts, {})
|
||||
local s = minetest.serialize_schematic(schematic, "mts", {})
|
||||
local path = minetest.get_modpath("saveschems") .. "/schematics"
|
||||
local filename = path .. "/" .. name .. ".mts"
|
||||
filename = filename:gsub("\"", "\\\""):gsub("\\", "\\\\")
|
||||
|
Loading…
Reference in New Issue
Block a user