mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-11-01 07:42:03 +01:00
FIX(path render): path render was called twice
This commit is contained in:
1 parent
2fc67683d8
commit
b317f7a3a0
1 file changed
+1
-5
+1
-5
@@ -199,11 +199,7 @@ class MazeMLX:
|
||||
# time.sleep(0.01)
|
||||
except StopIteration:
|
||||
if self.path_printer is not None:
|
||||
try:
|
||||
next(self.path_printer)
|
||||
time.sleep(0.03)
|
||||
except StopIteration:
|
||||
pass
|
||||
self.render_path()
|
||||
|
||||
|
||||
def main() -> None:
|
||||
|
||||
Reference in new issue
Block a user