refactor isUsingTimeToPassDefense to isUsingTime
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRockWall.java
index a0b6690c22049849c20ef8deaa07438a15c346a3..dae5e038ad86b3b6baa8a9c23b63cc352cc2ebd6 100755 (executable)
@@ -25,7 +25,7 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
 public class PassRockWall extends CommandGroup {
 
   public PassRockWall() {
-    if (Constants.Auton.isUsingTimeToPassDefense) {
+    if (Constants.Auton.isUsingTime) {
       addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
           Constants.Auton.passRockWallSpeed));
     }