diff options
author | Peter Ward <peteraward@gmail.com> | 2014-05-18 10:31:48 +1000 |
---|---|---|
committer | Peter Ward <peteraward@gmail.com> | 2014-05-18 10:31:48 +1000 |
commit | 58e37a1be5b257def98b5c86de84c068e21512df (patch) | |
tree | dad9296b78b717c0ffb078634bcde9f36ffe9ee0 /capturer.py | |
parent | bfce363852bd28d5ed52388f48290119096ae969 (diff) |
things
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: |