From c3d7c3c8546ad0176b6c7766b45749383902e1ca Mon Sep 17 00:00:00 2001 From: Peter Ward Date: Sat, 26 Jul 2014 13:02:17 +1000 Subject: add moar bots --- capturer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'capturer.py') 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: -- cgit v1.2.3