Skip to content

Commit

Permalink
fix arg for dipcc R phase
Browse files Browse the repository at this point in the history
  • Loading branch information
wwongkam committed May 15, 2023
1 parent cff4727 commit 3543923
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fairdiplomacy_external/mila_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,6 @@ async def play_mila(
while self.has_phase_changed():
await self.send_log(f'process dipcc game {self.dipcc_current_phase} to catch up with a current phase in mila {self.game.get_current_phase()}')
agent_orders = self.player.get_orders(self.dipcc_game)
if not agent_orders:
agent_orders = []
else:
agent_orders = [order for order in agent_orders]
self.dipcc_game.set_orders(power_name, agent_orders)
self.dipcc_game.process()
self.dipcc_current_phase = self.dipcc_game.get_current_phase()
Expand Down

0 comments on commit 3543923

Please sign in to comment.