mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Correctly get cursor position in command UI
This commit is contained in:
parent
cdcc338afd
commit
4fb320afb5
@ -86,7 +86,7 @@ export default class CommandUiHandler extends UiHandler {
|
||||
this.teraButton.setFrame(PokemonType[globalScene.getField()[this.fieldIndex].getTeraType()].toLowerCase());
|
||||
} else {
|
||||
this.teraButton.setVisible(false);
|
||||
if (this.cursor === Command.TERA) {
|
||||
if (this.getCursor() === Command.TERA) {
|
||||
this.setCursor(Command.FIGHT);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user