This commit is contained in:
samuel desharnais 2023-12-02 09:39:38 -05:00
parent 4ea78b5dd9
commit 61a0cb9610

View File

@ -52,11 +52,12 @@ public class Force1 extends CommandBase {
@Override @Override
public void end(boolean interrupted) { public void end(boolean interrupted) {
lanceur.lancer(0); lanceur.lancer(0);
accumulateur.stop();
} }
// Returns true when the command should end. // Returns true when the command should end.
@Override @Override
public boolean isFinished() { public boolean isFinished() {
return accumulateur.tournearriere()>-256; return false;
} }
} }