DataManager.Save should be virtual

This commit is contained in:
Justin Aquadro 2011-11-09 21:55:14 -05:00
parent 943b474c95
commit 60f38ca402
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ namespace Substrate.Data
return _maps; return _maps;
} }
public bool Save () public override bool Save ()
{ {
if (_world == null) { if (_world == null) {
return false; return false;

View file

@ -38,7 +38,7 @@ namespace Substrate.Data
/// Saves any metadata required by the world for managing data resources. /// Saves any metadata required by the world for managing data resources.
/// </summary> /// </summary>
/// <returns><c>true</c> on success, or <c>false</c> if data could not be saved.</returns> /// <returns><c>true</c> on success, or <c>false</c> if data could not be saved.</returns>
public bool Save () public virtual bool Save ()
{ {
return true; return true;
} }