diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2017-05-23 19:59:47 +0200 |
---|---|---|
committer | Loic Blot <loic.blot@unix-experience.fr> | 2017-05-23 19:59:47 +0200 |
commit | c445a3d958bf2b3f06e5b92a505d9710ef044809 (patch) | |
tree | 200f76769431e4baf4a62e7c6b58e67348d53acb | |
parent | 9ff5302c8bf1cc270ca144c9f2cfcb99f6903605 (diff) | |
download | minetest-c445a3d958bf2b3f06e5b92a505d9710ef044809.tar.gz minetest-c445a3d958bf2b3f06e5b92a505d9710ef044809.tar.bz2 minetest-c445a3d958bf2b3f06e5b92a505d9710ef044809.zip |
Fix wrong return value in get_sky Lua call since ad9fcf859ec2347325830e09504ae96968b51ea8
Fix #5803
-rw-r--r-- | src/script/lua_api/l_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/lua_api/l_object.cpp b/src/script/lua_api/l_object.cpp index c7a31d048..aaab0d98e 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -1732,7 +1732,7 @@ int ObjectRef::l_get_sky(lua_State *L) i++; } lua_pushboolean(L, clouds); - return 3; + return 4; } // set_clouds(self, {density=, color=, ambient=, height=, thickness=, speed=}) |