aboutsummaryrefslogtreecommitdiff
path: root/diplomacy/integration/webdiplomacy_net/api.py
diff options
context:
space:
mode:
Diffstat (limited to 'diplomacy/integration/webdiplomacy_net/api.py')
-rw-r--r--diplomacy/integration/webdiplomacy_net/api.py2
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 = {}