Fix buffer parameter not working in LuaPerlinNoiseMap::l_getMapSlice()

master
Pedro Gimeno 2018-01-08 21:32:15 +01:00 committed by SmallJoker
parent b2099d4277
commit 6b5e2618fb
1 changed files with 1 additions and 1 deletions

View File

@ -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);