--- a/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Sat Oct 08 17:22:06 2011 +0200
+++ b/project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m Sat Oct 08 21:17:24 2011 +0200
@@ -80,7 +80,7 @@
-(void) addWeapon:(id) sender {
NSString *fileName = [[NSString alloc] initWithFormat:@"Weapon %u.plist", [self.listOfWeapons count]];
- createWeaponNamed([fileName stringByDeletingPathExtension], 0);
+ [CreationChamber createWeaponNamed:[fileName stringByDeletingPathExtension]];
[self.listOfWeapons addObject:fileName];