Add forgotten lua_pop

This commit is contained in:
sfence 2024-10-04 10:42:37 +02:00 committed by GitHub
parent 57ca92e0eb
commit a19d0033bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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