mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-07 08:37:41 +00:00
Press enter to start run on starter screen
This commit is contained in:
parent
2d1fabdc03
commit
cc5f15e00e
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user