summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-02-21 19:48:35 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-02-21 19:48:35 +0200
commit10de131019c7ceaad6f156f8397b1ec2a8d84fc9 (patch)
treeb97323fd764b044e7207ff082188834a8860f413
parent385838c935a71e2f87c390a3b00c6751e7bcb087 (diff)
#3423 Use correct 'lsl-luau' compile target
-rw-r--r--indra/newview/llpreviewscript.cpp4
-rw-r--r--indra/newview/skins/default/xui/en/floater_live_lsleditor.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp
index c5949b46cd..9699e45080 100644
--- a/indra/newview/llpreviewscript.cpp
+++ b/indra/newview/llpreviewscript.cpp
@@ -2465,7 +2465,7 @@ void LLLiveLSLEditor::processScriptRunningReply(LLMessageSystem* msg, void**)
}
else
{
- compile_target = "lsl_luau";
+ compile_target = "lsl-luau";
}
}
else if (mono)
@@ -2497,7 +2497,7 @@ void LLLiveLSLEditor::processScriptRunningReply(LLMessageSystem* msg, void**)
{
luau_item->setEnabled(lua_scripts_enabled);
}
- if (LLScrollListItem* lsl_luau_item = instance->mCompileTarget->findItemByValue("lsl_luau"))
+ if (LLScrollListItem* lsl_luau_item = instance->mCompileTarget->findItemByValue("lsl-luau"))
{
lsl_luau_item->setEnabled(lua_scripts_enabled);
}
diff --git a/indra/newview/skins/default/xui/en/floater_live_lsleditor.xml b/indra/newview/skins/default/xui/en/floater_live_lsleditor.xml
index c5124e2119..bbc85cdc9d 100644
--- a/indra/newview/skins/default/xui/en/floater_live_lsleditor.xml
+++ b/indra/newview/skins/default/xui/en/floater_live_lsleditor.xml
@@ -148,6 +148,6 @@
<combo_box.item
label="LSL/Luau"
name="compile_target_lsl_luau"
- value="lsl_luau" />
+ value="lsl-luau" />
</combo_box>
</floater>