aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
index d6613e9..b3a0d4f 100644
--- a/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
+++ b/OpenSim/Region/ExtensionsScriptModule/ScriptInterpretedAPI.cs
@@ -69,7 +69,9 @@ namespace OpenSim.Region.ExtensionsScriptModule
69 /// </summary> 69 /// </summary>
70 public SceneObjectGroup Task 70 public SceneObjectGroup Task
71 { 71 {
72 get { return Scene.Objects[ObjectID]; } 72 // XXX Casting not ideal, but previous Scene.Objects propery wasn't actually populated, so
73 // wouldn't have worked anyway.
74 get { return (SceneObjectGroup)Scene.Entities[ObjectID]; }
73 } 75 }
74 76
75 /// <summary> 77 /// <summary>