MUDEngine.ProjectInformation.InitialLocation is no longer visible within the Project Manager.

MudDesigner no longer checks for the existance of the Data directory, this is handled by each editor independently.
Project Manager was checking the wrong directory for the project file, thus never letting the project file be loaded during startup.
This commit is contained in:
Scionwest_cp 2009-11-05 19:51:23 -08:00
parent c44c73c337
commit 6abf61aa63
3 changed files with 4 additions and 5 deletions

View file

@ -20,9 +20,9 @@ namespace Project_Manager
MUDEngine.Engine.ValidateProjectPath(Application.StartupPath);
//check if a project file exists, or use the new instance
if (System.IO.File.Exists(Application.StartupPath + @"\project.xml"))
if (System.IO.File.Exists(Application.StartupPath + @"\Data\project.xml"))
{
project = (MUDEngine.ProjectInformation)MUDEngine.XmlSerialization.Load(Application.StartupPath + @"\project.xml", project);
project = (MUDEngine.ProjectInformation)MUDEngine.XmlSerialization.Load(Application.StartupPath + @"\Data\project.xml", project);
}
//run the app