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:

Try waiting for longer to see a difference


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.