From 1321bd25b8590d3a6fc9750a2275df100db2e532 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sat, 26 Jul 2008 18:03:50 +0000 Subject: [PATCH] Fix Mantis #1830 Makes region settings save on second and subsequent sim restarts after upgrading. --- OpenSim/Data/MySQL/MySQLDataStore.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenSim/Data/MySQL/MySQLDataStore.cs b/OpenSim/Data/MySQL/MySQLDataStore.cs index 8f3d90446d..5bb8f7284a 100644 --- a/OpenSim/Data/MySQL/MySQLDataStore.cs +++ b/OpenSim/Data/MySQL/MySQLDataStore.cs @@ -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"]);