project_files/HedgewarsMobile/Classes/TeamConfigViewController.m
changeset 6247 6dfad55fd71c
parent 6220 39782c4d9246
child 6264 62d59a87daad
--- a/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m	Mon Oct 31 01:44:32 2011 +0100
+++ b/project_files/HedgewarsMobile/Classes/TeamConfigViewController.m	Mon Oct 31 03:08:16 2011 +0100
@@ -271,7 +271,7 @@
 #pragma mark -
 #pragma mark Memory management
 -(void) didReceiveMemoryWarning {
-    if ([[HedgewarsAppDelegate sharedAppDelegate] isInGame]) {
+    if ([HWUtils isGameLaunched]) {
         self.listOfSelectedTeams = nil;
         self.listOfAllTeams = nil;
         self.tableView = nil;