ant512 avatar ant512 committed 02dcd69

Default right keys for both players are now correct.

Comments (0)

Files changed (1)

SuperFoulEgg/UI/Settings.m

 		
 		_keyCodeOneLeft = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneLeft"] ? [[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneLeft"] intValue] : DEFAULT_KEY_CODE_ONE_LEFT;
 		
-		_keyCodeOneRight = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneRight"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneRight"] intValue] :DEFAULT_KEY_CODE_ONE_LEFT;
+		_keyCodeOneRight = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneRight"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneRight"] intValue] : DEFAULT_KEY_CODE_ONE_RIGHT;
 		
-		_keyCodeOneUp = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneUp"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneUp"] intValue] :DEFAULT_KEY_CODE_ONE_UP;
+		_keyCodeOneUp = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneUp"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneUp"] intValue] : DEFAULT_KEY_CODE_ONE_UP;
 		
-		_keyCodeOneDown = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneDown"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneDown"] intValue] :DEFAULT_KEY_CODE_ONE_DOWN;
+		_keyCodeOneDown = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneDown"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneDown"] intValue] : DEFAULT_KEY_CODE_ONE_DOWN;
 		
-		_keyCodeOneA = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneA"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneA"] intValue] :DEFAULT_KEY_CODE_ONE_A;
+		_keyCodeOneA = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneA"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneA"] intValue] : DEFAULT_KEY_CODE_ONE_A;
 		
-		_keyCodeOneB = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneB"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneB"] intValue] :DEFAULT_KEY_CODE_ONE_B;
+		_keyCodeOneB = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneB"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeOneB"] intValue] : DEFAULT_KEY_CODE_ONE_B;
 		
 		_keyCodeOneStart = DEFAULT_KEY_CODE_ONE_START;
 		
 		_keyCodeTwoLeft = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoLeft"] ? [[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoLeft"] intValue] : DEFAULT_KEY_CODE_TWO_LEFT;
 		
-		_keyCodeTwoRight = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoRight"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoRight"] intValue] :DEFAULT_KEY_CODE_TWO_LEFT;
+		_keyCodeTwoRight = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoRight"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoRight"] intValue] : DEFAULT_KEY_CODE_TWO_RIGHT;
 		
-		_keyCodeTwoUp = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoUp"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoUp"] intValue] :DEFAULT_KEY_CODE_TWO_UP;
+		_keyCodeTwoUp = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoUp"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoUp"] intValue] : DEFAULT_KEY_CODE_TWO_UP;
 		
-		_keyCodeTwoDown = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoDown"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoDown"] intValue] :DEFAULT_KEY_CODE_TWO_DOWN;
+		_keyCodeTwoDown = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoDown"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoDown"] intValue] : DEFAULT_KEY_CODE_TWO_DOWN;
 		
 		_keyCodeTwoA = [[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoA"] ?[[[NSUserDefaults standardUserDefaults] objectForKey:@"KeyCodeTwoA"] intValue] :DEFAULT_KEY_CODE_TWO_A;
 		
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.