diff options
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 d37c525dd..7d2eba8e2 100644 --- a/src/script/lua_api/l_object.cpp +++ b/src/script/lua_api/l_object.cpp @@ -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); |