This commit is contained in:
EdwardFaucher 2024-11-18 18:46:52 -05:00
commit 0735fdb41a

View File

@ -22,7 +22,7 @@ public class Desaccumuler extends Command {
// Called every time the scheduler runs while the command is scheduled.
@Override
public void execute() {
if(accumulateur.photocell() || accumulateur.photocell2()){accumulateur.desaccumule(0.1);}
if(!accumulateur.photocell() || !accumulateur.photocell2()){accumulateur.desaccumule(0.1);}
}
// Called once the command ends or is interrupted.