equal
deleted
inserted
replaced
63 -(IBAction) buttonPressed:(id) sender { |
63 -(IBAction) buttonPressed:(id) sender { |
64 UIButton *button = (UIButton *)sender; |
64 UIButton *button = (UIButton *)sender; |
65 |
65 |
66 if (button.tag == 0) { |
66 if (button.tag == 0) { |
67 [[AudioManagerController mainManager] playBackSound]; |
67 [[AudioManagerController mainManager] playBackSound]; |
68 [[self parentViewController] dismissModalViewControllerAnimated:YES]; |
68 [self.presentingViewController dismissViewControllerAnimated:YES completion:nil]; |
69 } else { |
69 } else { |
70 [GameInterfaceBridge registerCallingController:self]; |
70 [GameInterfaceBridge registerCallingController:self]; |
71 [GameInterfaceBridge startMissionGame:self.missionName]; |
71 [GameInterfaceBridge startMissionGame:self.missionName]; |
72 } |
72 } |
73 } |
73 } |