diff options
author | Peter Ward <peteraward@gmail.com> | 2014-07-26 13:02:17 +1000 |
---|---|---|
committer | Peter Ward <peteraward@gmail.com> | 2014-07-26 13:02:17 +1000 |
commit | c3d7c3c8546ad0176b6c7766b45749383902e1ca (patch) | |
tree | 08252b53be52d3c9ba769f6cc53b1fa76c89b86c /capturer.py | |
parent | bfce363852bd28d5ed52388f48290119096ae969 (diff) |
add moar bots
Diffstat (limited to 'capturer.py')
-rw-r--r-- | capturer.py | 2 |
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: |