threading update

This commit is contained in:
2023-07-26 11:33:46 +02:00
parent 1b9711a851
commit 5713422f49
3 changed files with 4 additions and 3 deletions

View File

@@ -34,7 +34,6 @@ def run():
overlay.run_mode = 'init'
continue
elif overlay.run_mode == 'quit':
overlay.destroy()
return
else:
break
@@ -69,6 +68,7 @@ def run():
elif overlay.rb_int.get() == 10:
ltris = Litris(overlay)
ltris.execute_main_loop()
ltris.stone_id_thread.run_mode = 'stop'
if __name__ == "__main__":
run()