diff options
author | Jordan Snelling <jordach.snelling@gmail.com> | 2020-03-08 15:13:36 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-08 16:13:36 +0100 |
commit | b9a0626d8893324aa6be41607efbc131d23eee2d (patch) | |
tree | cd532ba9afe8a460676738f70fd3ac692f6d5f95 /src/script | |
parent | 23c907befea02005e2c0c87fca0131b60aace18a (diff) | |
download | minetest-b9a0626d8893324aa6be41607efbc131d23eee2d.tar.gz minetest-b9a0626d8893324aa6be41607efbc131d23eee2d.tar.bz2 minetest-b9a0626d8893324aa6be41607efbc131d23eee2d.zip |
Fix star visilibity and documentation (since 946c03c6)
Fix memory leak (unused allocation)
Fix star rendering
Rename sky color struct
Fix stars on android
Remove extraneous .data() from android star draw
Diffstat (limited to 'src/script')
-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 70e21f088..23ed1ffe0 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -2059,7 +2059,7 @@ int ObjectRef::l_set_stars(lua_State *L) lua_pop(L, 1); star_params.scale = getfloatfield_default(L, 2, - "size", star_params.scale); + "scale", star_params.scale); getServer(L)->setStars(player, star_params); lua_pushboolean(L, true); |