Minor guard protecting against hackers like me who manipulate region UUIDs directly.

GenericGridServerConcept
diva 2009-02-24 04:00:54 +00:00
parent e9e5c175cd
commit c31e2d5987
1 changed files with 2 additions and 1 deletions

View File

@ -57,7 +57,8 @@ namespace OpenSim.Client.MXP
public void Initialise(Scene scene, IConfigSource source)
{
m_scenes.Add(scene.RegionInfo.RegionID, scene);
if (!m_scenes.ContainsKey(scene.RegionInfo.RegionID))
m_scenes.Add(scene.RegionInfo.RegionID, scene);
config = source;
}