1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-16 18:01:40 +00:00

Allow get_sky to return a table (#11963)

This commit is contained in:
Zughy 2022-03-05 22:15:41 +01:00 committed by GitHub
parent f2d1295fe6
commit 44fc888bd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 90 additions and 47 deletions

View file

@ -316,9 +316,10 @@ private:
// set_sky(self, sky_parameters)
static int l_set_sky(lua_State *L);
// get_sky(self)
// get_sky(self, as_table)
static int l_get_sky(lua_State *L);
// DEPRECATED
// get_sky_color(self)
static int l_get_sky_color(lua_State* L);