mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-22 23:39:34 +02:00
Fix missing move text when a move fails
This commit is contained in:
parent
e962ac1f18
commit
41ad255739
@ -147,6 +147,7 @@ export class MovePhase extends BattlePhase {
|
||||
const moveQueue = this.pokemon.getMoveQueue();
|
||||
|
||||
if (targets.length === 0 || (moveQueue.length && moveQueue[0].move === Moves.NONE)) {
|
||||
this.showMoveText();
|
||||
this.showFailedText();
|
||||
this.cancelled = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user