diff --git a/MudEngine/GameManagement/Game.cs b/MudEngine/GameManagement/Game.cs index 3efff3f..56a0e7a 100644 --- a/MudEngine/GameManagement/Game.cs +++ b/MudEngine/GameManagement/Game.cs @@ -356,7 +356,7 @@ namespace MudEngine.GameManagement continue; Log.Write("Saving " + PlayerCollection[i].Name); - PlayerCollection[i].Save(Path.Combine(DataPaths.Players, PlayerCollection[i].Filename)); + PlayerCollection[i].ExecuteCommand("Save"); } //Delete the last saved version of the World. We will dump the current version onto disk. diff --git a/MudEngine/GameObjects/Environment/Room.cs b/MudEngine/GameObjects/Environment/Room.cs index 44a40c4..0cc9079 100644 --- a/MudEngine/GameObjects/Environment/Room.cs +++ b/MudEngine/GameObjects/Environment/Room.cs @@ -91,6 +91,8 @@ namespace MudEngine.GameObjects.Environment public override void Save(String path) { + path = Path.Combine(path, "Rooms"); + base.Save(path); String filename = Path.Combine(path, Filename); diff --git a/MudGame/bin/Debug/..svnbridge/.svnbridge b/MudGame/bin/Debug/..svnbridge/.svnbridge index aa5dc6e..20754ee 100644 --- a/MudGame/bin/Debug/..svnbridge/.svnbridge +++ b/MudGame/bin/Debug/..svnbridge/.svnbridge @@ -7,4 +7,14 @@ MudGame.vshost.exe MudGame.vshost.exe.manifest Player temp +svn:ignoreLog.txt +MudEngine.dll +MudEngine.pdb +MudGame.exe +MudGame.pdb +MudGame.vshost.exe +MudGame.vshost.exe.manifest +Player +temp +Realms \ No newline at end of file