From: kwolekr Date: Fri, 17 Apr 2015 22:39:18 +0000 (-0400) Subject: Schematics: Fix core.schematic_create() X-Git-Tag: 0.4.13~358 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e0889c6c03d48fabc15adf06af811ab2bfc2fe23;p=oweals%2Fminetest.git Schematics: Fix core.schematic_create() --- 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());