mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-30 21:42:20 +02:00
Fixed command phase bug causing metronome test timeout
This commit is contained in:
parent
6cfc4da068
commit
9453dfa0aa
@ -128,7 +128,7 @@ export class CommandPhase extends FieldPhase {
|
||||
playerPokemon
|
||||
.getMoveset()
|
||||
[moveIndex].isUsable(playerPokemon, queuedMove.useType >= MoveUseType.IGNORE_PP)) ||
|
||||
queuedMove.useType < MoveUseType.INDIRECT
|
||||
queuedMove.useType >= MoveUseType.INDIRECT
|
||||
) {
|
||||
this.handleCommand(Command.FIGHT, moveIndex, queuedMove.useType, queuedMove);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user