fix bug where region settings loaded via an oar (water height, terrain textures, etc.) were not being persisted to the database

this meant that the loaded settings would disappear after a restart
0.6.9
Justin Clark-Casey (justincc) 2010-02-26 18:30:05 +00:00
parent e635570cf3
commit 93967d4a1c
1 changed files with 2 additions and 0 deletions

View File

@ -436,6 +436,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver
currentRegionSettings.UseEstateSun = loadedRegionSettings.UseEstateSun;
currentRegionSettings.WaterHeight = loadedRegionSettings.WaterHeight;
currentRegionSettings.Save();
IEstateModule estateModule = m_scene.RequestModuleInterface<IEstateModule>();
if (estateModule != null)