X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FResetShootingSpeed.java;h=8eb98bb90f26974f900ddbcb83486ad99859373b;hb=7ba6bc91b8cf7205e05cdb974dc80fdd668ebe59;hp=d8f016218ae79a590db2d380d3d71eda13babfe8;hpb=09e509d3b1f6e73a06d62e41c5a959e6eed2e5c6;p=3501%2F2017steamworks 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..8eb98bb 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.resetTargetShootingSpeed(); } @Override