fix syntax error
This commit is contained in:
parent
4e1b17ada6
commit
45e29a3fcd
@ -820,7 +820,7 @@ class SleepyMode(GameMode):
|
|||||||
self.step = 0
|
self.step = 0
|
||||||
self.prev_direction = None
|
self.prev_direction = None
|
||||||
for i in range(0, 3):
|
for i in range(0, 3):
|
||||||
dir2 = [d for d in directions where d != self.prev_direction]
|
dir2 = [d for d in directions if d != self.prev_direction]
|
||||||
self.correct[i] = random.choice(directions)
|
self.correct[i] = random.choice(directions)
|
||||||
self.fake1[i] = random.choice(directions)
|
self.fake1[i] = random.choice(directions)
|
||||||
self.fake2[i] = random.choice(directions)
|
self.fake2[i] = random.choice(directions)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user