bugfixes
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / intakearm / RunIntake.java
index 42ed83fc3f38b5a0c0970f52aa1103fe6c0af63a..c69b350631e777c30fa65a792f8d1a2928092f18 100644 (file)
@@ -17,8 +17,10 @@ public class RunIntake extends Command {
   protected void initialize() {
     if (direction == Constants.IntakeArm.IN)
       Robot.intakeArm.intakeBall();
-    else
+    else if (direction == Constants.IntakeArm.OUT)
       Robot.intakeArm.outputBall();
+    else
+      Robot.intakeArm.stopRollers();
   }
 
   @Override