summaryrefslogtreecommitdiff
path: root/capturer.py
diff options
context:
space:
mode:
authorPeter Ward <peteraward@gmail.com>2014-07-26 13:02:17 +1000
committerPeter Ward <peteraward@gmail.com>2014-07-26 13:02:17 +1000
commitc3d7c3c8546ad0176b6c7766b45749383902e1ca (patch)
tree08252b53be52d3c9ba769f6cc53b1fa76c89b86c /capturer.py
parentbfce363852bd28d5ed52388f48290119096ae969 (diff)
add moar bots
Diffstat (limited to 'capturer.py')
-rw-r--r--capturer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/capturer.py b/capturer.py
index 92f85b7..7a698ee 100644
--- a/capturer.py
+++ b/capturer.py
@@ -37,7 +37,7 @@ class CaptureSpawns(object):
if random.random() < self.variance:
result = random.choice('ULDR')
elif predecessors[y][x]:
- result = predecessors[y][x]
+ result = random.choice(predecessors[y][x])
elif state.allegiances.get((x, y)) != whoami:
result = 'P'
else: