From 067888d54943d301c45843858c763d4f81db215d Mon Sep 17 00:00:00 2001 From: kwolekr Date: Sat, 29 Jun 2013 22:22:25 -0400 Subject: LuaVoxelManip: Fix minor bug with set_lighting, remove coordinate params for light and liquid updates --- src/script/lua_api/l_env.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/script/lua_api/l_env.cpp') 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); -- cgit v1.2.3