From 383531e29594ceb3c519b2663025cc22e192354b Mon Sep 17 00:00:00 2001 From: Philip Paquette Date: Tue, 28 May 2019 22:23:42 -0400 Subject: [WebDip] - Providing a "convoyPath" for moves using a convoy --- diplomacy/integration/webdiplomacy_net/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'diplomacy/integration/webdiplomacy_net/api.py') 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 = {} -- cgit v1.2.3