X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FResetShootingSpeed.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FResetShootingSpeed.java;h=1bcf8970b21aa80fe0984fefcf247dbab5200822;hp=d8f016218ae79a590db2d380d3d71eda13babfe8;hb=f625e57a09b295f7d40e4568a8e3a8cd125630aa;hpb=1782cbadb12ad13d30eab7597f656cbe17f48df2 diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/ResetShootingSpeed.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/ResetShootingSpeed.java index d8f0162..1bcf897 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/ResetShootingSpeed.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/ResetShootingSpeed.java @@ -20,7 +20,7 @@ public class ResetShootingSpeed extends Command { @Override protected void initialize() { - shooter.setCurrentShootingSpeed(shooter.DEFAULT_SHOOTING_SPEED); + shooter.resetCurrentShootingSpeed(); } @Override