mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
cursor freeze bug fix pt 2
This commit is contained in:
parent
88c3f44a97
commit
8d469fe3af
@ -90,7 +90,7 @@ export default class RunHistoryUiHandler extends MessageUiHandler {
|
||||
if (button === Button.ACTION || button === Button.CANCEL) {
|
||||
if (button === Button.ACTION) {
|
||||
const cursor = this.cursor + this.scrollCursor;
|
||||
if (this.runs[cursor].hasData) {
|
||||
if (this.runs[cursor]) {
|
||||
this.scene.ui.setOverlayMode(Mode.RUN_INFO, this.runs[cursor].entryData, true);
|
||||
} else {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user