Fix Mantis #1830
Makes region settings save on second and subsequent sim restarts after upgrading.0.6.0-stable
parent
287674296e
commit
1321bd25b8
|
@ -1272,6 +1272,7 @@ namespace OpenSim.Data.MySQL
|
||||||
private static RegionSettings buildRegionSettings(DataRow row)
|
private static RegionSettings buildRegionSettings(DataRow row)
|
||||||
{
|
{
|
||||||
RegionSettings newSettings = new RegionSettings();
|
RegionSettings newSettings = new RegionSettings();
|
||||||
|
rs.OnSave += StoreRegionSettings;
|
||||||
|
|
||||||
newSettings.RegionUUID = new LLUUID((string) row["regionUUID"]);
|
newSettings.RegionUUID = new LLUUID((string) row["regionUUID"]);
|
||||||
newSettings.BlockTerraform = Convert.ToBoolean(row["block_terraform"]);
|
newSettings.BlockTerraform = Convert.ToBoolean(row["block_terraform"]);
|
||||||
|
|
Loading…
Reference in New Issue