From: W. Trevor King Date: Fri, 26 Mar 2010 08:50:49 +0000 (-0400) Subject: Fix missing dispatchers in base.random_game EmailPlayer init. X-Git-Tag: 0.1~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1de24848bf983bcc6bea47bf40f86d52a162cac7;p=pyrisk.git Fix missing dispatchers in base.random_game EmailPlayer init. --- diff --git a/pyrisk/base.py b/pyrisk/base.py index 2a90281..295b27b 100644 --- a/pyrisk/base.py +++ b/pyrisk/base.py @@ -791,7 +791,7 @@ def random_game(): world = generate_earth() ied = IncomingEmailDispatcher(fifo_path='/tmp/pyrisk.in') oed = OutgoingEmailDispatcher(return_address='server@example.com') - players = [EmailPlayer('Alice', 'alice@big.edu'), + players = [EmailPlayer('Alice', 'alice@big.edu', ied, oed), Player('Bob'), Player('Charlie')] e = Engine(world, players) e.run()