Bob can generate however many work orders he likes.

pull/133/head
jMyles 2017-12-01 15:59:41 -08:00
parent 4509ec0fc8
commit 4494ea869e
1 changed files with 2 additions and 1 deletions

View File

@ -274,7 +274,8 @@ class Bob(Character):
from nkms.policy.models import TreasureMap
return TreasureMap(msgpack.loads(packed_node_list))
def generate_work_orders(self, p_frags, num_ursulas=None):
def generate_work_orders(self, policy_group, p_frags, num_ursulas=None):
# TODO: Perhaps instead of taking a policy_group, it makes more sense for Bob to reconstruct one with the TreasureMap.
from nkms.policy.models import WorkOrder # Prevent circular import
existing_work_orders = self._work_orders.get(p_frags, {})