diff options
Diffstat (limited to 'worldedit/serialization.lua')
-rw-r--r-- | worldedit/serialization.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worldedit/serialization.lua b/worldedit/serialization.lua index 4d28988..e08699e 100644 --- a/worldedit/serialization.lua +++ b/worldedit/serialization.lua @@ -114,7 +114,7 @@ end -- @return A node list in the latest format, or nil on failure.
function worldedit.load_schematic(value)
local version, header, content = worldedit.read_header(value)
- local nodes
+ local nodes = {}
if version == 1 or version == 2 then -- Original flat table format
local tables = minetest.deserialize(content)
if not tables then return nil end
|