Skip to content

Commit

Permalink
La condition qui manque pour être 1er
Browse files Browse the repository at this point in the history
  • Loading branch information
mistic100 committed May 12, 2024
1 parent b2b7a29 commit 14ea05d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ public void execute() {

int targetX = getX(725);
boolean doCommun = true;
// if (rs.strategy() == Strategy.SUD || !rs.panneauxSolaire().communModifiedByOpponent()) {
// targetX = getX(1725);
// doCommun = false;
// }
if (rs.strategy() == Strategy.SUD || !rs.panneauxSolaire().communModifiedByOpponent()) {
targetX = getX(1725);
doCommun = false;
}

servos.groupePanneauOuvert(true);
mv.gotoPoint(targetX, yCallage, GotoOption.SANS_ORIENTATION);
Expand Down

0 comments on commit 14ea05d

Please sign in to comment.