Fix delay at end of game
This commit is contained in:
parent
c231919eb2
commit
0b6551ac52
1 changed files with 2 additions and 3 deletions
|
@ -20,7 +20,6 @@ void setup() {
|
|||
configure();
|
||||
deactivateAll();
|
||||
digitalWrite(LED_BUILTIN, LOW);
|
||||
delay(2000);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
@ -32,6 +31,8 @@ void loop() {
|
|||
return;
|
||||
}
|
||||
|
||||
delay(1200);
|
||||
|
||||
currentPosition += 1;
|
||||
byte newItem = random(0, 4);
|
||||
sequence[currentPosition] = newItem;
|
||||
|
@ -41,6 +42,4 @@ void loop() {
|
|||
win = false;
|
||||
over = true;
|
||||
}
|
||||
|
||||
delay(2000);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue