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;h=d8f016218ae79a590db2d380d3d71eda13babfe8;hp=7a2f95091bcd4f79c1116f072734b2728901c763;hb=09e509d3b1f6e73a06d62e41c5a959e6eed2e5c6;hpb=d7042bec1cddc809132fcc233ba3320b0b6681d9 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..d8f0162 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.setCurrentShootingSpeed(shooter.DEFAULT_SHOOTING_SPEED); } @Override