summary refs log tree commit diff stats
path: root/Classes/GameModeSelectionLayer.m
diff options
context:
space:
mode:
Diffstat (limited to 'Classes/GameModeSelectionLayer.m')
-rw-r--r--Classes/GameModeSelectionLayer.m3
1 files changed, 0 insertions, 3 deletions
diff --git a/Classes/GameModeSelectionLayer.m b/Classes/GameModeSelectionLayer.m index a12d435..4c4845d 100644 --- a/Classes/GameModeSelectionLayer.m +++ b/Classes/GameModeSelectionLayer.m
@@ -132,9 +132,6 @@
132 132
133- (void)didSelectGameMode:(GameModeSelection *)gameMode 133- (void)didSelectGameMode:(GameModeSelection *)gameMode
134{ 134{
135 NSUserDefaults* defaults = [NSUserDefaults standardUserDefaults];
136 [defaults setInteger:[gameModes indexOfObject:gameMode] forKey:@"lastSelectedMode"];
137
138 if ([gameMode.name isEqual:@"Tutorial"]) 135 if ([gameMode.name isEqual:@"Tutorial"])
139 { 136 {
140 [[CCDirector sharedDirector] replaceScene:[TutorialMode scene]]; 137 [[CCDirector sharedDirector] replaceScene:[TutorialMode scene]];