diff options
author | Philip Paquette <pcpaquette@gmail.com> | 2019-05-28 22:23:42 -0400 |
---|---|---|
committer | Philip Paquette <pcpaquette@gmail.com> | 2019-05-28 23:53:06 -0400 |
commit | 383531e29594ceb3c519b2663025cc22e192354b (patch) | |
tree | 1b0c0f8ce9c171b32d3f55440e2f6d90ade0cb40 /diplomacy/integration/webdiplomacy_net/api.py | |
parent | 915758cf463eedbf05382ce4d43b1cd1c54699b1 (diff) |
[WebDip] - Providing a "convoyPath" for moves using a convoy
Diffstat (limited to 'diplomacy/integration/webdiplomacy_net/api.py')
-rw-r--r-- | diplomacy/integration/webdiplomacy_net/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/diplomacy/integration/webdiplomacy_net/api.py b/diplomacy/integration/webdiplomacy_net/api.py index e391343..75e0265 100644 --- a/diplomacy/integration/webdiplomacy_net/api.py +++ b/diplomacy/integration/webdiplomacy_net/api.py @@ -132,7 +132,7 @@ class API(): LOGGER.info('[%s/%s/%s] - Submitting orders: %s', game.game_id, game.get_current_phase(), power_name, orders) # Converting orders to dict - orders_dict = [Order(order, map_name=game.map_name, phase_type=game.phase_type) for order in orders] + orders_dict = [Order(order, map_name=game.map_name, phase_type=game.phase_type, game=game) for order in orders] # Recording submitted orders submitted_orders = {} |