Plumb in the start parameter in DNE

0.6.0-stable
Melanie Thielker 2008-10-03 05:32:51 +00:00
parent c9fbc03a18
commit 1cf0798863
2 changed files with 11 additions and 1 deletions

View File

@ -236,7 +236,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
public int GetStartParameter(UUID itemID) public int GetStartParameter(UUID itemID)
{ {
return 0; return m_ScriptManager.GetStartParameter(itemID);
} }
#endregion #endregion

View File

@ -611,5 +611,15 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
return null; return null;
} }
public int GetStartParameter(UUID itemID)
{
uint localID = GetLocalID(itemID);
InstanceData id = GetScript(localID, itemID);
return id.StartParam;
}
} }
} }