diff options
Diffstat (limited to 'data/GSOC examples/Sierpinski - graphics')
-rw-r--r-- | data/GSOC examples/Sierpinski - graphics | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/GSOC examples/Sierpinski - graphics b/data/GSOC examples/Sierpinski - graphics index f61111a..f5d75cc 100644 --- a/data/GSOC examples/Sierpinski - graphics +++ b/data/GSOC examples/Sierpinski - graphics @@ -101,7 +101,7 @@ while pippy.pygame.next_frame(): elif event.type == KEYDOWN and event.key == K_LEFT and depth > 0: depth -= 1 recalculate = True - elif event.type == KEYDOWN: + elif event.type == KEYDOWN and event.key == K_q: sys.exit() screen.fill(white) # Display the current step. |