threading update
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user