projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f0b36b
)
Schematics: Fix core.schematic_create()
author
kwolekr
<kwolekr@minetest.net>
Fri, 17 Apr 2015 22:39:18 +0000
(18:39 -0400)
committer
kwolekr
<kwolekr@minetest.net>
Fri, 17 Apr 2015 22:39:37 +0000
(18:39 -0400)
src/script/lua_api/l_mapgen.cpp
patch
|
blob
|
history
diff --git
a/src/script/lua_api/l_mapgen.cpp
b/src/script/lua_api/l_mapgen.cpp
index c063919ba9aca4a727176444fb7083c53b91a9e2..daa040e3b67771519d69adcfcefa497523cbf50d 100644
(file)
--- 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());