Skip to content

Commit

Permalink
Fix wrong return value in get_sky Lua call since ad9fcf8
Browse files Browse the repository at this point in the history
Fix #5803
  • Loading branch information
nerzhul committed May 23, 2017
1 parent 9ff5302 commit c445a3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/script/lua_api/l_object.cpp
Expand Up @@ -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=})
Expand Down

0 comments on commit c445a3d

Please sign in to comment.