From 0c289bf27dcc40b9f41152b60408fa047ccf6f65 Mon Sep 17 00:00:00 2001 From: Rider Linden Date: Tue, 3 Mar 2026 11:11:02 -0800 Subject: Pass desired script type as the subtype for a new script. --- indra/newview/llviewerinventory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llviewerinventory.cpp') 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; -- cgit v1.3