diff api/Objects/WarFoundryObject.cs @ 137:f58051572ec7

Fixes #128: Don't save out default names * Check if unit has default name before exporting * Make HasDefaultName() method public from protected
author IBBoard <dev@ibboard.co.uk>
date Sun, 13 Sep 2009 17:18:41 +0000
parents d59aa4e46761
children
line wrap: on
line diff
--- a/api/Objects/WarFoundryObject.cs	Tue Sep 08 19:27:51 2009 +0000
+++ b/api/Objects/WarFoundryObject.cs	Sun Sep 13 17:18:41 2009 +0000
@@ -74,7 +74,7 @@
 			}
 		}
 
-		protected bool HasDefaultName()
+		public bool HasDefaultName()
 		{
 			return (name == null || name == "");
 		}