From c445a3d958bf2b3f06e5b92a505d9710ef044809 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Tue, 23 May 2017 19:59:47 +0200 Subject: [PATCH] Fix wrong return value in get_sky Lua call since ad9fcf859ec2347325830e09504ae96968b51ea8 Fix #5803 --- src/script/lua_api/l_object.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=}) -- 2.25.1