forked from Mirrorlandia_minetest/minetest
Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()
This commit is contained in:
parent
2992b774fe
commit
63f4ee21b0
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user