X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FDecreaseShootingSpeed.java;h=0c81f51feaa99bfa219039fe6a3bc2bf5b63eafc;hb=refs%2Fheads%2Fshooter-code-review;hp=3bd4efd7490e7462306cbe05fb75ebff63c15516;hpb=4dd20c3d051f6e39e5de6c86d04c4cade58fca59;p=3501%2F2017steamworks diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/DecreaseShootingSpeed.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/DecreaseShootingSpeed.java index 3bd4efd..0c81f51 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/DecreaseShootingSpeed.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/DecreaseShootingSpeed.java @@ -21,7 +21,7 @@ public class DecreaseShootingSpeed extends Command { @Override protected void initialize() { - shooter.CURRENT_SHOOTING_SPEED -= shooter.SHOOTING_SPEED_INCREMENT; + shooter.decrementCurrentShootingSpeed(); }