diff options
author | Starla Insigna <starla4444@gmail.com> | 2011-08-23 13:21:56 -0400 |
---|---|---|
committer | Starla Insigna <starla4444@gmail.com> | 2011-08-23 13:21:56 -0400 |
commit | fd32f2af7f62f17d42292b6538903a37b0b5e563 (patch) | |
tree | 9373352af10a3f05ff6869fb5d337a4bb876ea25 /Classes/GameModeSelectionLayer.m | |
parent | b4c612674d28bf7b385bd9fe41b108df8d97b474 (diff) | |
download | cartcollect-e781c5f610c7583c32bc371add824b5ad47dc17c.tar.gz cartcollect-e781c5f610c7583c32bc371add824b5ad47dc17c.tar.bz2 cartcollect-e781c5f610c7583c32bc371add824b5ad47dc17c.zip |
Added game quitting safeguard to pause screen (version 0.3.1) v0.3.1
Also replaced instances of the term "Cart Collect" in Tutorial with "Cartographic". Also modified level selection screen to remember your position in the list rather than simply the last mode you'd played. Closes #211
Diffstat (limited to 'Classes/GameModeSelectionLayer.m')
-rw-r--r-- | Classes/GameModeSelectionLayer.m | 3 |
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]]; |