mirror of
https://github.com/minetest/minetest.git
synced 2025-01-02 19:37:30 +01:00
Add forgotten lua_pop
This commit is contained in:
parent
57ca92e0eb
commit
a19d0033bc
@ -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…
Reference in New Issue
Block a user