From cc5f15e00e7a05d6207fe7a0fa08de5f98696e8d Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Mon, 1 Jan 2024 13:41:46 -0500 Subject: [PATCH] Press enter to start run on starter screen --- src/ui/starter-select-ui-handler.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/ui/starter-select-ui-handler.ts b/src/ui/starter-select-ui-handler.ts index eb866f0bd..4cc2ba526 100644 --- a/src/ui/starter-select-ui-handler.ts +++ b/src/ui/starter-select-ui-handler.ts @@ -354,7 +354,12 @@ export default class StarterSelectUiHandler extends MessageUiHandler { let success = false; let error = false; - if (this.startCursorObj.visible) { + if (button === Button.SUBMIT) { + if (this.tryStart(true)) + success = true; + else + error = true; + } else if (this.startCursorObj.visible) { switch (button) { case Button.ACTION: if (this.tryStart(true))