diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index ab3562f35b..5dc626076c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -7991,13 +7991,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api public void llSetTouchText(string text) { m_host.AddScriptLPS(1); - m_host.TouchName = text; + if(text.Length <= 9) + m_host.TouchName = text; + else + m_host.TouchName = text.Substring(0, 9); } public void llSetSitText(string text) { m_host.AddScriptLPS(1); - m_host.SitName = text; + if (text.Length <= 9) + m_host.SitName = text; + else + m_host.SitName = text.Substring(0, 9); } public void llSetCameraEyeOffset(LSL_Vector offset)