diff options
author | kwolekr <kwolekr@minetest.net> | 2015-04-17 18:39:18 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-04-17 18:39:37 -0400 |
commit | e0889c6c03d48fabc15adf06af811ab2bfc2fe23 (patch) | |
tree | 11b96727e48e246ad360e51e71432c0059369622 | |
parent | 5f0b36b8b70faa36b20343342567471c8f50b7f2 (diff) | |
download | minetest-e0889c6c03d48fabc15adf06af811ab2bfc2fe23.tar.gz minetest-e0889c6c03d48fabc15adf06af811ab2bfc2fe23.tar.bz2 minetest-e0889c6c03d48fabc15adf06af811ab2bfc2fe23.zip |
Schematics: Fix core.schematic_create()
-rw-r--r-- | src/script/lua_api/l_mapgen.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/lua_api/l_mapgen.cpp b/src/script/lua_api/l_mapgen.cpp index c063919ba..daa040e3b 100644 --- a/src/script/lua_api/l_mapgen.cpp +++ b/src/script/lua_api/l_mapgen.cpp @@ -1037,6 +1037,7 @@ int ModApiMapgen::l_generate_decorations(lua_State *L) int ModApiMapgen::l_create_schematic(lua_State *L) { Schematic schem; + schem.m_ndef = getServer(L)->getNodeDefManager(); Map *map = &(getEnv(L)->getMap()); |