Wait() in competition template auton

I used wait(1, seconds;) in my program for autonomous. Everything works well on a ordinary file of V5 text, but when I put the auton into the competition template, the robot seems to ignore the wait and just go on to the next line. How shojld I fix this?

Do you have the entire program?

The semi colon should be outside the parenthesis.

Other things to try:
wait(1000,msec);

Try waiting for longer to see a difference

4 Likes

Ok so it turned out that it is the problem with the program config itself. We copied and paste the program to another competition template and everything works as usual.