# HG changeset patch
# User antonc27 <antonc27@mail.ru>
# Date 1442028208 -7200
# Node ID f65f462d5a064c02dea6e68652aa9fab190e2020
# Parent  715849bf64584471de3c5b1881e4f2ac725e86d8
- These properties are not necessary to clean when receiving memory warning

diff -r 715849bf6458 -r f65f462d5a06 project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
--- a/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m	Sat Sep 12 05:21:21 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m	Sat Sep 12 05:23:28 2015 +0200
@@ -396,16 +396,6 @@
 #pragma mark -
 #pragma mark Memory management
 -(void) didReceiveMemoryWarning {
-    if ([HWUtils isGameLaunched]) {
-        self.lastIndexPath_sc = nil;
-        self.lastIndexPath_we = nil;
-        self.lastIndexPath_lu = nil;
-        self.selectedScheme = nil;
-        self.selectedWeapon = nil;
-        self.selectedScript = nil;
-        self.scriptCommand = nil;
-        self.topControl = nil;
-    }
     self.listOfSchemes = nil;
     self.listOfWeapons = nil;
     self.listOfScripts = nil;