X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FResetShootingSpeed.java;h=1bcf8970b21aa80fe0984fefcf247dbab5200822;hb=6af2bd85705a2bd19ce936d390f57a61f6168666;hp=7a2f95091bcd4f79c1116f072734b2728901c763;hpb=4dd20c3d051f6e39e5de6c86d04c4cade58fca59;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 7a2f950..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.CURRENT_SHOOTING_SPEED = shooter.DEFAULT_SHOOTING_SPEED; + shooter.resetCurrentShootingSpeed(); } @Override