mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Add forgotten lua_pop
This commit is contained in:
parent
57ca92e0eb
commit
a19d0033bc
1 changed files with 1 additions and 0 deletions
|
@ -2626,6 +2626,7 @@ int ObjectRef::l_set_lighting(lua_State *L)
|
|||
getfloatfield(L, -1, "intensity", lighting.shadow_intensity);
|
||||
lua_getfield(L, -1, "tint");
|
||||
read_color(L, -1, &lighting.shadow_tint);
|
||||
lua_pop(L, 1); // tint
|
||||
}
|
||||
lua_pop(L, 1); // shadows
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue