project_files/HedgewarsMobile/Classes/GameSetup.m
changeset 3660 bc125bea5849
parent 3642 fb39fecca350
child 3670 4c673e57f0d7
--- a/project_files/HedgewarsMobile/Classes/GameSetup.m	Tue Jul 20 03:14:43 2010 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameSetup.m	Tue Jul 20 05:37:58 2010 +0200
@@ -56,7 +56,7 @@
     [teamFile release];
     
     NSString *teamHashColorAndName = [[NSString alloc] initWithFormat:@"eaddteam %@ %@ %@", 
-                                      [teamData objectForKey:@"hash"], [teamColor stringValue], [teamData objectForKey:@"teamname"]];
+                                      [teamData objectForKey:@"hash"], [teamColor stringValue], [teamName stringByDeletingPathExtension]];
     [self sendToEngine: teamHashColorAndName];
     [teamHashColorAndName release];