project_files/HedgewarsMobile/Classes/WeaponSettingsViewController.m
changeset 6103 55ecfbf834e3
parent 6074 047eaed35cbb
child 6700 e04da46ee43c
--- 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];