projects
/
naja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2204be6
)
missed a file
author
David Sharpe
<decoydavid@gmail.com>
Sat, 17 May 2014 13:02:16 +0000
(15:02 +0200)
committer
David Sharpe
<decoydavid@gmail.com>
Sat, 17 May 2014 13:02:16 +0000
(15:02 +0200)
naja/gameboard.py
patch
|
blob
|
history
diff --git
a/naja/gameboard.py
b/naja/gameboard.py
index b827877b43d3bc530abc4bd3eb768fbba7de6b25..fcad070a8f9f2be711a607fc5661b61d76148c55 100644
(file)
--- 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