FIX(path render): path render was called twice

This commit is contained in:
2026-03-27 21:42:14 +01:00
parent 2fc67683d8
commit b317f7a3a0
+1 -5
View File
@@ -199,11 +199,7 @@ class MazeMLX:
# time.sleep(0.01) # time.sleep(0.01)
except StopIteration: except StopIteration:
if self.path_printer is not None: if self.path_printer is not None:
try: self.render_path()
next(self.path_printer)
time.sleep(0.03)
except StopIteration:
pass
def main() -> None: def main() -> None: