#W# File structure changes.

This commit is contained in:
WarrentyExpired 2026-08-06 19:02:54 -04:00
parent f3c4050cc3
commit 624d04b84f
38 changed files with 43 additions and 43 deletions

View file

@ -858,16 +858,16 @@ namespace Server
internal static void Load()
{
if ( !System.IO.File.Exists( "Data/Regions.xml" ) )
if ( !System.IO.File.Exists( "Data/Config/Regions.xml" ) )
{
Console.WriteLine( "Error: Data/Regions.xml does not exist" );
Console.WriteLine( "Error: Data/Config/Regions.xml does not exist" );
return;
}
Console.Write( "Regions: Loading..." );
XmlDocument doc = new XmlDocument();
doc.Load( System.IO.Path.Combine( Core.BaseDirectory, "Data/Regions.xml" ) );
doc.Load( System.IO.Path.Combine( Core.BaseDirectory, "Data/Config/Regions.xml" ) );
XmlElement root = doc["ServerRegions"];
@ -1282,4 +1282,4 @@ namespace Server
return true;
}
}
}
}