mirror of
https://github.com/maoakeEnterprise/amazing.git
synced 2026-04-28 16:04:35 +02:00
FIX(path render): path render was called twice
This commit is contained in:
+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