diff options
Bring us up to date.
Diffstat (limited to 'OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs')
-rw-r--r-- | OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs b/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs index 2ea36da..79bb9c2 100644 --- a/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs +++ b/OpenSim/Tests/Common/Mock/MockRegionDataPlugin.cs | |||
@@ -163,6 +163,10 @@ namespace OpenSim.Data.Null | |||
163 | { | 163 | { |
164 | RegionSettings rs = null; | 164 | RegionSettings rs = null; |
165 | m_regionSettings.TryGetValue(regionUUID, out rs); | 165 | m_regionSettings.TryGetValue(regionUUID, out rs); |
166 | |||
167 | if (rs == null) | ||
168 | rs = new RegionSettings(); | ||
169 | |||
166 | return rs; | 170 | return rs; |
167 | } | 171 | } |
168 | 172 | ||