mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Clouds API: change speed from 'y' to 'z', ColorSpecs in Lua docs (#6164)
This commit is contained in:
parent
befc3bba3d
commit
c50a57c070
2 changed files with 5 additions and 4 deletions
|
@ -1766,7 +1766,7 @@ int ObjectRef::l_set_clouds(lua_State *L)
|
|||
if (lua_istable(L, -1)) {
|
||||
v2f new_speed;
|
||||
new_speed.X = getfloatfield_default(L, -1, "x", 0);
|
||||
new_speed.Y = getfloatfield_default(L, -1, "y", 0);
|
||||
new_speed.Y = getfloatfield_default(L, -1, "z", 0);
|
||||
cloud_params.speed = new_speed;
|
||||
}
|
||||
lua_pop(L, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue