Makes region settings save on second and subsequent sim restarts
after upgrading.
0.6.0-stable
Melanie Thielker 2008-07-26 18:03:50 +00:00
parent 287674296e
commit 1321bd25b8
1 changed files with 1 additions and 0 deletions

View File

@ -1272,6 +1272,7 @@ namespace OpenSim.Data.MySQL
private static RegionSettings buildRegionSettings(DataRow row)
{
RegionSettings newSettings = new RegionSettings();
rs.OnSave += StoreRegionSettings;
newSettings.RegionUUID = new LLUUID((string) row["regionUUID"]);
newSettings.BlockTerraform = Convert.ToBoolean(row["block_terraform"]);