escape = toggle
This commit is contained in:
parent
94b9c56f8c
commit
f57f2b0153
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ function keyPressed() {
|
|||
raspberry.boost();
|
||||
}
|
||||
if (key == "Escape") {
|
||||
paused = true;
|
||||
paused = !paused;
|
||||
} else if (paused) {
|
||||
paused = false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue