refactor isUsingTimeToPassDefense to isUsingTime
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRampart.java
index 30051460e11e157ac509de7cf81bda5d12543b47..e5af033e9a85272f118ee7925e360a6b2b6d5b51 100755 (executable)
@@ -26,7 +26,7 @@ public class PassRampart extends CommandGroup {
 
   public PassRampart() {
 
-    if (Constants.Auton.isUsingTimeToPassDefense) {
+    if (Constants.Auton.isUsingTime) {
       addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
           Constants.Auton.passRockWallSpeed));
     }