summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_env.cpp
diff options
context:
space:
mode:
authorkwolekr <kwolekr@minetest.net>2013-06-29 22:22:25 -0400
committerkwolekr <kwolekr@minetest.net>2013-06-29 22:23:00 -0400
commit067888d54943d301c45843858c763d4f81db215d (patch)
tree4d3a1f9039269f0ff5d0e00cd1c3e8a0df1f1427 /src/script/lua_api/l_env.cpp
parent848c3fe51a842950b14547491c74aaf580dc83ec (diff)
downloadminetest-067888d54943d301c45843858c763d4f81db215d.tar.gz
minetest-067888d54943d301c45843858c763d4f81db215d.tar.bz2
minetest-067888d54943d301c45843858c763d4f81db215d.zip
LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates
Diffstat (limited to 'src/script/lua_api/l_env.cpp')
-rw-r--r--src/script/lua_api/l_env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_env.cpp b/src/script/lua_api/l_env.cpp
index 89ba9798a..1cbf34ab9 100644
--- a/src/script/lua_api/l_env.cpp
+++ b/src/script/lua_api/l_env.cpp
@@ -591,7 +591,7 @@ int ModApiEnvMod::l_get_mapgen_object(lua_State *L)
ManualMapVoxelManipulator *vm = mg->vm;
// VoxelManip object
- LuaVoxelManip *o = new LuaVoxelManip(vm, false);
+ LuaVoxelManip *o = new LuaVoxelManip(vm, true);
*(void **)(lua_newuserdata(L, sizeof(void *))) = o;
luaL_getmetatable(L, "VoxelManip");
lua_setmetatable(L, -2);