From 7d01823caf7f21b0d14c811a3a6b0371e53f208d Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Sun, 7 Jan 2018 09:58:08 -0800 Subject: [PATCH] remove stopAllMotors on escape key --- libs/core/buttons.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/core/buttons.ts b/libs/core/buttons.ts index 45cca1b6..ab3e3854 100644 --- a/libs/core/buttons.ts +++ b/libs/core/buttons.ts @@ -170,7 +170,6 @@ namespace brick { // this needs to be done in query(), which is run without the main JS execution mutex // otherwise, while(true){} will lock the device if (ret & DAL.BUTTON_ID_ESCAPE) { - motors.stopAllMotors(); control.reset() } return ret