mirror of https://github.com/minetest/minetest.git
Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()
This commit is contained in:
parent
dfe45cdee3
commit
f1242d48a9
|
@ -316,7 +316,7 @@ int LuaPerlinNoiseMap::l_getMapSlice(lua_State *L)
|
|||
Noise *n = o->noise;
|
||||
|
||||
if (use_buffer)
|
||||
lua_pushvalue(L, 3);
|
||||
lua_pushvalue(L, 4);
|
||||
else
|
||||
lua_newtable(L);
|
||||
|
||||
|
|
Loading…
Reference in New Issue