From 657ea0cb72ba9489c32e98cf21511952e0e0437f Mon Sep 17 00:00:00 2001 From: kulisak12 Date: Fri, 23 Sep 2022 13:44:06 +0200 Subject: [PATCH] =?UTF-8?q?Strategick=C3=A1:=20typo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- klient/strategy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klient/strategy.py b/klient/strategy.py index ba9ca69..6727e3a 100755 --- a/klient/strategy.py +++ b/klient/strategy.py @@ -210,7 +210,7 @@ def pathfind(member: Member, goal: Field) -> Direction: # a také jednoduše získat první krok explored: Set[Field] = set() queue = collections.deque([goal]) - dirs = [Direction.UP, Direction.LEFT, Direction.DOWN, Direction.RIqGHT] + dirs = [Direction.UP, Direction.LEFT, Direction.DOWN, Direction.RIGHT] while queue: field = queue.popleft() for direction in dirs: