refactor isUsingTimeToPassDefense to isUsingTime
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
index 8f35a25cd393b9275d317cec4ac5f67a0101e557..9ee3e6eeaff831dfadd8f25d2a639f528930e3cf 100644 (file)
@@ -25,7 +25,7 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
 public class PassLowBar extends CommandGroup {
 
   public PassLowBar() {
-    if (Constants.Auton.isUsingTimeToPassDefense) {
+    if (Constants.Auton.isUsingTime) {
       addSequential(new DriveForTime(Constants.Auton.passLowBarTime,
           Constants.Auton.passLowBarSpeed));
     }