* Put explicit braces in for single line blocks

0.6.0-stable
Justin Clarke Casey 2008-04-09 15:36:10 +00:00
parent f9646a0c81
commit 8bd1f1c7c3
1 changed files with 9 additions and 3 deletions

View File

@ -460,12 +460,18 @@ namespace OpenSim.Region.ScriptEngine.Common
IScript script = null;
if ((sm = m_ScriptEngine.m_ScriptManager) != null)
{
if (sm.Scripts.ContainsKey(m_localID))
{
if ((script = sm.GetScript(m_localID, m_itemID)) != null)
{
if (script.llDetectParams._key[0] != null)
return new LLUUID(
script.llDetectParams._key[0]
);
{
return new LLUUID(script.llDetectParams._key[0]);
}
}
}
}
}
return LLUUID.Zero;
}