changeset 35:9cac51553fd1

* Remove "isLoading" flag on setting fully loaded * Only set isLoading flag when not fully loaded no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Sun, 15 Mar 2009 16:25:49 +0000
parents b28be912adab
children 0a1c5fea6a08
files api/Objects/WarFoundryStagedLoadingObject.cs
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/api/Objects/WarFoundryStagedLoadingObject.cs	Sun Mar 15 16:07:52 2009 +0000
+++ b/api/Objects/WarFoundryStagedLoadingObject.cs	Sun Mar 15 16:25:49 2009 +0000
@@ -65,12 +65,16 @@
 		
 		public void SetAsFullyLoaded()
 		{
+			isLoading = false;
 			isFullyLoaded = true;
 		}
 		
 		public void SetAsLoading()
 		{
-			isLoading = true;
+			if (!isFullyLoaded)
+			{
+				isLoading = true;
+			}
 		}
 	}
 }