aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_object.h
diff options
context:
space:
mode:
authorZughy <63455151+Zughy@users.noreply.github.com>2022-03-05 22:15:41 +0100
committerGitHub <noreply@github.com>2022-03-05 22:15:41 +0100
commit44fc888bd64cc00836b0fea0666aa763b2565513 (patch)
tree74593dc8e5ddc98dbdc04b01753a7aca71f98e6a /src/script/lua_api/l_object.h
parentf2d1295fe646105f1b98b0c204f47f781336e211 (diff)
downloadminetest-44fc888bd64cc00836b0fea0666aa763b2565513.tar.gz
minetest-44fc888bd64cc00836b0fea0666aa763b2565513.tar.bz2
minetest-44fc888bd64cc00836b0fea0666aa763b2565513.zip
Allow get_sky to return a table (#11963)
Diffstat (limited to 'src/script/lua_api/l_object.h')
-rw-r--r--src/script/lua_api/l_object.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/script/lua_api/l_object.h b/src/script/lua_api/l_object.h
index db3a3a7cf..084d40c05 100644
--- a/src/script/lua_api/l_object.h
+++ b/src/script/lua_api/l_object.h
@@ -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);