diff options
Diffstat (limited to 'src/script/lua_api/l_object.cpp')
-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); |