Minor guard protecting against hackers like me who manipulate region UUIDs directly.
parent
e9e5c175cd
commit
c31e2d5987
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue