summaryrefslogtreecommitdiff
path: root/indra/newview/lltooldraganddrop.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2026-03-03 11:11:02 -0800
committerRider Linden <rider@lindenlab.com>2026-03-03 11:11:02 -0800
commit0c289bf27dcc40b9f41152b60408fa047ccf6f65 (patch)
tree44decc732e37674d180668ac37bfc704d002b69e /indra/newview/lltooldraganddrop.cpp
parentbb233c070dedbbd3b7ec014a0679a0021958e775 (diff)
Pass desired script type as the subtype for a new script.
Diffstat (limited to 'indra/newview/lltooldraganddrop.cpp')
-rw-r--r--indra/newview/lltooldraganddrop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltooldraganddrop.cpp b/indra/newview/lltooldraganddrop.cpp
index bca4743c19..eb8ace339e 100644
--- a/indra/newview/lltooldraganddrop.cpp
+++ b/indra/newview/lltooldraganddrop.cpp
@@ -1828,7 +1828,7 @@ void LLToolDragAndDrop::dropScript(LLViewerObject* hit_obj,
}
}
}
- hit_obj->saveScript(new_script, active, true, LANG_ID_LSL, LLUUID::null);
+ hit_obj->saveScript(new_script, active, true, LLUUID::null);
if (gFloaterTools)
{
gFloaterTools->dirty();