diff options
author | Pedro Gimeno <pggh-66ra@personal.formauri.es> | 2018-01-08 21:32:15 +0100 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2018-01-08 20:32:15 +0000 |
commit | 63f4ee21b05266f926ed883ba86f3411b1499933 (patch) | |
tree | 2cc616f281c7f7cc7197f4d1d3ded9945987bc27 /src/script/lua_api | |
parent | 2992b774fe65410a8acd3d06ae82dcd1eb260413 (diff) | |
download | minetest-63f4ee21b05266f926ed883ba86f3411b1499933.tar.gz minetest-63f4ee21b05266f926ed883ba86f3411b1499933.tar.bz2 minetest-63f4ee21b05266f926ed883ba86f3411b1499933.zip |
Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()
Diffstat (limited to 'src/script/lua_api')
-rw-r--r-- | src/script/lua_api/l_noise.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_noise.cpp b/src/script/lua_api/l_noise.cpp index 7e76001c1..85e908356 100644 --- a/src/script/lua_api/l_noise.cpp +++ b/src/script/lua_api/l_noise.cpp @@ -311,7 +311,7 @@ int LuaPerlinNoiseMap::l_get_map_slice(lua_State *L) Noise *n = o->noise; if (use_buffer) - lua_pushvalue(L, 3); + lua_pushvalue(L, 4); else lua_newtable(L); |