Permalink
Browse files

refactoring the grunt work of MessageObject into a private method wit…

…h a UUID argument
  • Loading branch information...
1 parent a858c5d commit d4b8a13a1d63c950feba694eca53df06f2cc5792 @SignpostMarv SignpostMarv committed with justincc Sep 1, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
View
5 OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -1673,6 +1673,11 @@ public void osMessageObject(LSL_Key objectUUID, string message)
return;
}
+ MessageObject(objUUID, message);
+ }
+
+ private void MessageObject(UUID objUUID, string message)
+ {
object[] resobj = new object[] { new LSL_Types.LSLString(m_host.UUID.ToString()), new LSL_Types.LSLString(message) };
SceneObjectPart sceneOP = World.GetSceneObjectPart(objUUID);

0 comments on commit d4b8a13

Please sign in to comment.