diff options
| author | Rider Linden <rider@lindenlab.com> | 2026-03-03 11:11:02 -0800 |
|---|---|---|
| committer | Rider Linden <rider@lindenlab.com> | 2026-03-03 11:11:02 -0800 |
| commit | 0c289bf27dcc40b9f41152b60408fa047ccf6f65 (patch) | |
| tree | 44decc732e37674d180668ac37bfc704d002b69e /indra/newview/llviewerinventory.cpp | |
| parent | bb233c070dedbbd3b7ec014a0679a0021958e775 (diff) | |
Pass desired script type as the subtype for a new script.
Diffstat (limited to 'indra/newview/llviewerinventory.cpp')
| -rw-r--r-- | indra/newview/llviewerinventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerinventory.cpp b/indra/newview/llviewerinventory.cpp index f5fd234da7..53d87e2869 100644 --- a/indra/newview/llviewerinventory.cpp +++ b/indra/newview/llviewerinventory.cpp @@ -1739,7 +1739,7 @@ void create_new_item(const std::string& name, region->getSimulatorFeatures(simulatorFeatures); if (simulatorFeatures["LuaScriptsEnabled"].asBoolean()) { - subtype = LANG_ID_LUA; + subtype = SST_LUA; } } break; |
