mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-20 16:42:45 +02:00
[Bug] Correctly get cursor position in command UI (#5740)
Correctly get cursor position in command UI Co-authored-by: Sirz Benjie <142067137+SirzBenjie@users.noreply.github.com>
This commit is contained in:
parent
da3b2e0edd
commit
8eeec9511b
@ -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