aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs10
2 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
index ee64c41..76bf41b 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptEngine.cs
@@ -236,7 +236,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
236 236
237 public int GetStartParameter(UUID itemID) 237 public int GetStartParameter(UUID itemID)
238 { 238 {
239 return 0; 239 return m_ScriptManager.GetStartParameter(itemID);
240 } 240 }
241 #endregion 241 #endregion
242 242
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
index 627b2a7..875b29e 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs
@@ -611,5 +611,15 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
611 611
612 return null; 612 return null;
613 } 613 }
614
615 public int GetStartParameter(UUID itemID)
616 {
617
618 uint localID = GetLocalID(itemID);
619
620 InstanceData id = GetScript(localID, itemID);
621
622 return id.StartParam;
623 }
614 } 624 }
615} 625}