mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-07 07:59:26 +02:00
[Beta][Bug][UI/UX] Ensure setCursor is called if not first turn (#6098)
Ensure setCursor is called if not first turn
This commit is contained in:
parent
773229effd
commit
971a86d20a
@ -134,6 +134,8 @@ export class FightUiHandler extends UiHandler implements InfoToggle {
|
|||||||
const pokemon = (globalScene.phaseManager.getCurrentPhase() as CommandPhase).getPokemon();
|
const pokemon = (globalScene.phaseManager.getCurrentPhase() as CommandPhase).getPokemon();
|
||||||
if (pokemon.tempSummonData.turnCount <= 1) {
|
if (pokemon.tempSummonData.turnCount <= 1) {
|
||||||
this.setCursor(0);
|
this.setCursor(0);
|
||||||
|
} else {
|
||||||
|
this.setCursor(this.fieldIndex ? this.cursor2 : this.cursor);
|
||||||
}
|
}
|
||||||
this.displayMoves();
|
this.displayMoves();
|
||||||
this.toggleInfo(false); // in case cancel was pressed while info toggle is active
|
this.toggleInfo(false); // in case cancel was pressed while info toggle is active
|
||||||
|
Loading…
Reference in New Issue
Block a user