mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Add forgotten lua_pop
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user