diff api/Objects/WarFoundryStagedLoadingObject.cs @ 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 2f3cafb69799
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;
+			}
 		}
 	}
 }