mirror of
https://github.com/opensim/opensim.git
synced 2026-05-19 22:45:43 +08:00
converted hard-coded chat type values to ChatTypeEnum
This commit is contained in:
@@ -33,6 +33,7 @@ using System.Reflection;
|
||||
using System.Runtime.Serialization.Formatters.Binary;
|
||||
using System.Threading;
|
||||
using libsecondlife;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler;
|
||||
using OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL;
|
||||
using OpenSim.Region.Environment.Scenes;
|
||||
@@ -318,7 +319,7 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine
|
||||
string text = "Error compiling script:\r\n" + e.Message.ToString();
|
||||
if (text.Length > 1500)
|
||||
text = text.Substring(0, 1500);
|
||||
World.SimChat(Helpers.StringToField(text), 1, 0, m_host.AbsolutePosition, m_host.Name, m_host.UUID);
|
||||
World.SimChat(Helpers.StringToField(text), ChatTypeEnum.Say, 0, m_host.AbsolutePosition, m_host.Name, m_host.UUID);
|
||||
}
|
||||
catch (Exception e2)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user