Press enter to start run on starter screen
This commit is contained in:
1 parent
2d1fabdc03
commit
cc5f15e00e
1 file changed
+6
-1
@@ -354,7 +354,12 @@ export default class StarterSelectUiHandler extends MessageUiHandler {
|
|||||||
let success = false;
|
let success = false;
|
||||||
let error = 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) {
|
switch (button) {
|
||||||
case Button.ACTION:
|
case Button.ACTION:
|
||||||
if (this.tryStart(true))
|
if (this.tryStart(true))
|
||||||
|
|||||||
Reference in new issue
Block a user