Patches llAvatarOnSitTarget to return NULL_KEY opposed to a blank string. Should fix Mantis 838
parent
7fcffa3a3a
commit
0e0445573e
|
@ -3292,12 +3292,13 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||||
public string llAvatarOnSitTarget()
|
public string llAvatarOnSitTarget()
|
||||||
{
|
{
|
||||||
m_host.AddScriptLPS(1);
|
m_host.AddScriptLPS(1);
|
||||||
LLUUID AVID = m_host.GetAvatarOnSitTarget();
|
return m_host.GetAvatarOnSitTarget().ToString();
|
||||||
|
//LLUUID AVID = m_host.GetAvatarOnSitTarget();
|
||||||
if (AVID != LLUUID.Zero)
|
|
||||||
return AVID.ToString();
|
//if (AVID != LLUUID.Zero)
|
||||||
else
|
// return AVID.ToString();
|
||||||
return String.Empty;
|
//else
|
||||||
|
// return String.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void llAddToLandPassList(string avatar, double hours)
|
public void llAddToLandPassList(string avatar, double hours)
|
||||||
|
|
Loading…
Reference in New Issue