From: David Sharpe Date: Sat, 17 May 2014 13:02:16 +0000 (+0200) Subject: missed a file X-Git-Tag: 0.1~93 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=cccb33dccd54ad2ab824be5e8b288f4017657a61;p=naja.git missed a file --- diff --git a/naja/gameboard.py b/naja/gameboard.py index b827877..fcad070 100644 --- a/naja/gameboard.py +++ b/naja/gameboard.py @@ -362,8 +362,8 @@ class LocationCard(object): return None else: if replacement_params['chance'] > random.random(): - return random.randint(replacement_params[0], - replacement_params[1]) + return random.randint(replacement_params['min'], + replacement_params['max']) else: return None