diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 89ac273..0b82fa0 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,9 +2,7 @@ - - @@ -23,8 +21,8 @@ - - + + @@ -422,12 +420,12 @@ - + - @@ -852,8 +850,8 @@ - - + + diff --git a/src/components/mainScreen/shootingModes/duelingTree/DuelingShoot.js b/src/components/mainScreen/shootingModes/duelingTree/DuelingShoot.js index 0cabef7..a055802 100644 --- a/src/components/mainScreen/shootingModes/duelingTree/DuelingShoot.js +++ b/src/components/mainScreen/shootingModes/duelingTree/DuelingShoot.js @@ -168,7 +168,7 @@ class DuelingShoot extends React.Component { targetIds: targetIds, plateOrientations: plateOrientations }, () => { - if (this.state.plateOrientations.indexOf("left") < 0 || this.state.plateOrientations.indexOf("right") < 0) { + if (this.state.competitionStarted && (this.state.plateOrientations.indexOf("left") < 0 || this.state.plateOrientations.indexOf("right") < 0)) { this.stopCompetition() } })