diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index 668bb1f..eb00d3b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -947,7 +947,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
947 | { | 947 | { |
948 | ScenePresence sp = Engine.World.GetScenePresence(Part.OwnerID); | 948 | ScenePresence sp = Engine.World.GetScenePresence(Part.OwnerID); |
949 | if (sp != null && !sp.IsNPC) | 949 | if (sp != null && !sp.IsNPC) |
950 | Engine.World.SimChatToAgent(Part.OwnerID, Utils.StringToBytes(text), 0x7FFFFFFF, Part.AbsolutePosition, | 950 | Engine.World.SimChatToAgent(Part.OwnerID, Utils.StringToBytes(text), (int) ChatTypeEnum.DebugChannel, Part.AbsolutePosition, |
951 | Part.Name, Part.UUID, false); | 951 | Part.Name, Part.UUID, false); |
952 | } | 952 | } |
953 | else | 953 | else |