summary refs log tree commit diff stats
path: root/Classes
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-09-04 12:04:29 -0400
committerStarla Insigna <starla4444@gmail.com>2011-09-04 12:04:29 -0400
commit2fa013a839517aef066edadb2fb4863b357fa55b (patch)
tree958953ea9c04ad7c62b4c0bb8f0c1464978f3faa /Classes
parent138ddde0dfa19e49801cb35626130ccb9d34b878 (diff)
downloadcartcollect-0.4.1.tar.gz
cartcollect-0.4.1.tar.bz2
cartcollect-0.4.1.zip
Fixed a bug that submitted Jump highscores to the Collect global highscore list v0.4.1
Refs #204
Diffstat (limited to 'Classes')
-rwxr-xr-xClasses/GameOverScene.m9
1 files changed, 8 insertions, 1 deletions
diff --git a/Classes/GameOverScene.m b/Classes/GameOverScene.m index f2dca0b..28c59ec 100755 --- a/Classes/GameOverScene.m +++ b/Classes/GameOverScene.m
@@ -114,7 +114,14 @@
114 114
115 CLScoreServerPost* server = [[CLScoreServerPost alloc] initWithGameName:@"Cart Collect" gameKey:@"38f440a074b3264386455a36b2706d8f" delegate:self]; 115 CLScoreServerPost* server = [[CLScoreServerPost alloc] initWithGameName:@"Cart Collect" gameKey:@"38f440a074b3264386455a36b2706d8f" delegate:self];
116 NSMutableDictionary* dict = [[NSMutableDictionary alloc] init]; 116 NSMutableDictionary* dict = [[NSMutableDictionary alloc] init];
117 [dict setObject:@"Classic" forKey:@"cc_category"]; 117
118 if ([gameMode isEqual:@"Collect"])
119 {
120 [dict setObject:@"Classic" forKey:@"cc_category"];
121 } else {
122 [dict setObject:gameMode forKey:@"cc_category"];
123 }
124
118 [dict setObject:[textField text] forKey:@"cc_playername"]; 125 [dict setObject:[textField text] forKey:@"cc_playername"];
119 [dict setObject:[NSNumber numberWithInt:score] forKey:@"cc_score"]; 126 [dict setObject:[NSNumber numberWithInt:score] forKey:@"cc_score"];
120 [server sendScore:dict]; 127 [server sendScore:dict];