Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronangliss committed Dec 26, 2024
1 parent abbd584 commit b4121f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poke_env/player/baselines.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def choose_doubles_move(self, battle: DoubleBattle):
switches = [s for s in switches if s != switched_in]

if not mon or mon.fainted:
orders.append(None)
orders.append(DefaultBattleOrder())
continue
elif not moves and switches:
mon_to_switch_in = random.choice(switches)
Expand Down

0 comments on commit b4121f4

Please sign in to comment.