summary refs log tree commit diff stats
path: root/Classes/GameOverScene.m
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/GameOverScene.m')
-rwxr-xr-xClasses/GameOverScene.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/Classes/GameOverScene.m b/Classes/GameOverScene.m index 28c59ec..cfbb446 100755 --- a/Classes/GameOverScene.m +++ b/Classes/GameOverScene.m
@@ -184,20 +184,26 @@
184 184
185 [submitSwitch removeFromSuperview]; 185 [submitSwitch removeFromSuperview];
186 [submitSwitch release]; 186 [submitSwitch release];
187 submitSwitch = nil;
187 188
188 [textField removeFromSuperview]; 189 [textField removeFromSuperview];
189 [textField release]; 190 [textField release];
191 textField = nil;
190 192
191 [scoreField removeFromSuperview]; 193 [scoreField removeFromSuperview];
192 [scoreField release]; 194 [scoreField release];
195 scoreField = nil;
193 196
194 [activityIndicator removeFromSuperview]; 197 [activityIndicator removeFromSuperview];
195 [activityIndicator release]; 198 [activityIndicator release];
199 activityIndicator = nil;
196 200
197 [backButton removeFromSuperview]; 201 [backButton removeFromSuperview];
202 backButton = nil;
198 203
199 [movingLayer removeFromSuperview]; 204 [movingLayer removeFromSuperview];
200 [movingLayer release]; 205 [movingLayer release];
206 movingLayer = nil;
201 207
202 [[CCDirector sharedDirector] replaceScene:[MainMenuLayer scene]]; 208 [[CCDirector sharedDirector] replaceScene:[MainMenuLayer scene]];
203} 209}