Convert region loading to new format

This commit is contained in:
Melanie Thielker
2014-04-26 02:43:13 +02:00
parent 5c661baf6c
commit 1d1e444aed
2 changed files with 8 additions and 6 deletions

View File

@@ -93,8 +93,8 @@ namespace OpenSim.Framework.RegionLoader.Web
xmlSource.Length);
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.LoadXml(xmlSource);
if (xmlDoc.FirstChild.Name == "Regions")
{
if (xmlDoc.FirstChild.Name == "Nini")
{
regionCount = xmlDoc.FirstChild.ChildNodes.Count;
if (regionCount > 0)