mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Convert region loading to new format
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user