Deal with possibly un-initialized scripts in object transfers. Mantis #5310
parent
81587466e7
commit
fda56618e1
|
@ -864,7 +864,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||||
|
|
||||||
public Dictionary<string, object> GetVars()
|
public Dictionary<string, object> GetVars()
|
||||||
{
|
{
|
||||||
|
if (m_Script != null)
|
||||||
return m_Script.GetVars();
|
return m_Script.GetVars();
|
||||||
|
else
|
||||||
|
return new Dictionary<string, object>();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SetVars(Dictionary<string, object> vars)
|
public void SetVars(Dictionary<string, object> vars)
|
||||||
|
|
Loading…
Reference in New Issue