From cccb33dccd54ad2ab824be5e8b288f4017657a61 Mon Sep 17 00:00:00 2001 From: David Sharpe Date: Sat, 17 May 2014 15:02:16 +0200 Subject: [PATCH] missed a file --- naja/gameboard.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.34.1