aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
index 8e712b6..783791f 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs
@@ -864,7 +864,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
864 864
865 public Dictionary<string, object> GetVars() 865 public Dictionary<string, object> GetVars()
866 { 866 {
867 return m_Script.GetVars(); 867 if (m_Script != null)
868 return m_Script.GetVars();
869 else
870 return new Dictionary<string, object>();
868 } 871 }
869 872
870 public void SetVars(Dictionary<string, object> vars) 873 public void SetVars(Dictionary<string, object> vars)