revert that and actually don't loose the estates :)

This commit is contained in:
UbitUmarov
2016-08-02 01:37:47 +01:00
parent b1ef269dd3
commit 908b5e8526

View File

@@ -119,8 +119,8 @@ namespace OpenSim.Services.Connectors
List<int> eids = new List<int>();
// If we don't have them, load them from the server
List<EstateSettings> estates = null;
if (!m_EstateCache.TryGetValue("estates", out estates) || estates == null)
LoadEstateSettingsAll();
if (!m_EstateCache.TryGetValue("estates", out estates))
estates = LoadEstateSettingsAll();
foreach (EstateSettings es in estates)
eids.Add((int)es.EstateID);
@@ -132,8 +132,8 @@ namespace OpenSim.Services.Connectors
{
// If we don't have them, load them from the server
List<EstateSettings> estates = null;
if (!m_EstateCache.TryGetValue("estates", out estates) || estates == null)
LoadEstateSettingsAll();
if (!m_EstateCache.TryGetValue("estates", out estates))
estates = LoadEstateSettingsAll();
List<int> eids = new List<int>();
foreach (EstateSettings es in estates)
@@ -147,8 +147,8 @@ namespace OpenSim.Services.Connectors
{
// If we don't have them, load them from the server
List<EstateSettings> estates = null;
if (!m_EstateCache.TryGetValue("estates", out estates) || estates == null)
LoadEstateSettingsAll();
if (!m_EstateCache.TryGetValue("estates", out estates))
estates = LoadEstateSettingsAll();
List<int> eids = new List<int>();
foreach (EstateSettings es in estates)