mirror of
https://github.com/minetest/minetest.git
synced 2024-12-02 12:33:45 +01:00
Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()
This commit is contained in:
parent
b2099d4277
commit
6b5e2618fb
@ -316,7 +316,7 @@ int LuaPerlinNoiseMap::l_getMapSlice(lua_State *L)
|
|||||||
Noise *n = o->noise;
|
Noise *n = o->noise;
|
||||||
|
|
||||||
if (use_buffer)
|
if (use_buffer)
|
||||||
lua_pushvalue(L, 3);
|
lua_pushvalue(L, 4);
|
||||||
else
|
else
|
||||||
lua_newtable(L);
|
lua_newtable(L);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user