escape = toggle

This commit is contained in:
s-prechtl 2022-12-13 11:17:09 +01:00
parent 94b9c56f8c
commit f57f2b0153

View file

@ -84,7 +84,7 @@ function keyPressed() {
raspberry.boost(); raspberry.boost();
} }
if (key == "Escape") { if (key == "Escape") {
paused = true; paused = !paused;
} else if (paused) { } else if (paused) {
paused = false; paused = false;
} }