aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 12c909b..12d7bcd 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -267,10 +267,10 @@ namespace OpenSim.Region.Environment.Scenes
267 // Load region settings 267 // Load region settings
268 // First try database 268 // First try database
269 m_regInfo.RegionSettings = m_storageManager.DataStore.LoadRegionSettings(m_regInfo.RegionID); 269 m_regInfo.RegionSettings = m_storageManager.DataStore.LoadRegionSettings(m_regInfo.RegionID);
270 // If the database access failed, this will create defaults 270
271 m_regInfo.RegionSettings.RegionUUID = m_regInfo.RegionID; 271 // Hook up save event
272 // Finally, save the defaults 272 m_regInfo.RegionSettings.OnSave += m_storageManager.DataStore.StoreRegionSettings;
273 m_storageManager.DataStore.StoreRegionSettings(m_regInfo.RegionSettings); 273
274 274
275 //Bind Storage Manager functions to some land manager functions for this scene 275 //Bind Storage Manager functions to some land manager functions for this scene
276 EventManager.OnLandObjectAdded += 276 EventManager.OnLandObjectAdded +=