Skip to content

Commit

Permalink
Fixed new round bug to close #1
Browse files Browse the repository at this point in the history
  • Loading branch information
phrack committed Mar 20, 2016
1 parent 7f7214a commit cab42ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/com/shootoff/plugins/PistolIsometrics.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public PistolIsometrics(List<Group> targets) {

@Override
public ExerciseMetadata getInfo() {
return new ExerciseMetadata("Pistol Isometrics", "1.0", "phrack",
return new ExerciseMetadata("Pistol Isometrics", "1.1", "phrack",
"This exercise walks you through hold exercises to strengthen "
+ "arm and hand muscles that help you shoot a pistol accurately. "
+ "You will be asked to shoot, then you must shoot until you hit "
Expand Down Expand Up @@ -112,7 +112,9 @@ public void run() {
justShot = false;
} else {
notice = getSoundStream("/sounds/congrats-complete.wav");
TrainingExerciseBase.playSound(notice);
executorService.schedule(() -> startRound(), START_DELAY, TimeUnit.SECONDS);
return;
}
}

Expand All @@ -139,7 +141,7 @@ public void shotListener(Shot shot, Optional<Hit> hit) {
new Fire().run();
} else {
super.pauseShotDetection(true);

InputStream hold = getSoundStream("/sounds/hold60.wav");
TrainingExerciseBase.playSound(hold);

Expand Down

0 comments on commit cab42ee

Please sign in to comment.