summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.py b/main.py
index 08793d3..0cd9b30 100644
--- a/main.py
+++ b/main.py
@@ -58,7 +58,7 @@ strategy = Strategy(c)
autorespawn_counter = 60
# main loop
-while True:
+while gui.running:
c.on_message()
gui.draw_frame()
@@ -79,3 +79,5 @@ while True:
autorespawn_counter = 60
else:
autorespawn_counter-=1
+
+print("bye")