[fix] Pressing the quit key really quits now

This commit is contained in:
kleph 2017-07-19 03:46:59 +02:00
parent 8ab65eb96a
commit 33bf7ecbe9

View file

@ -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()