Press enter to start run on starter screen

pull/14/head
Flashfyre 2024-01-01 13:41:46 -05:00
parent 2d1fabdc03
commit cc5f15e00e
1 changed files with 6 additions and 1 deletions

View File

@ -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))