diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 29c8eb1..6e3e436 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -5958,6 +5958,9 @@ Environment.Exit(1); | |||
5958 | 5958 | ||
5959 | public void StoreExtraSetting(string name, string val) | 5959 | public void StoreExtraSetting(string name, string val) |
5960 | { | 5960 | { |
5961 | if (m_extraSettings == null) | ||
5962 | return; | ||
5963 | |||
5961 | string oldVal; | 5964 | string oldVal; |
5962 | 5965 | ||
5963 | if (m_extraSettings.TryGetValue(name, out oldVal)) | 5966 | if (m_extraSettings.TryGetValue(name, out oldVal)) |
@@ -5975,6 +5978,9 @@ Environment.Exit(1); | |||
5975 | 5978 | ||
5976 | public void RemoveExtraSetting(string name) | 5979 | public void RemoveExtraSetting(string name) |
5977 | { | 5980 | { |
5981 | if (m_extraSettings == null) | ||
5982 | return; | ||
5983 | |||
5978 | if (!m_extraSettings.ContainsKey(name)) | 5984 | if (!m_extraSettings.ContainsKey(name)) |
5979 | return; | 5985 | return; |
5980 | 5986 | ||