mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-31 05:07:11 +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 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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user