diff --git a/03_map.py b/03_map.py index cd9a2d3..c8c100d 100644 --- a/03_map.py +++ b/03_map.py @@ -242,6 +242,7 @@ def on_key_press(symbol, modifiers): if symbol == key.Q: print('Will quit') + sys.exit(0) if symbol == key.R: print('Regeneration') level.regenerate()