From 60f84fc9ed101efc0972cfde5a2a5ff09baf6766 Mon Sep 17 00:00:00 2001 From: Alan Aguiar Date: Tue, 09 Apr 2013 21:16:04 +0000 Subject: not exit with two esc --- diff --git a/cells.py b/cells.py index 217cda1..35b1b32 100755 --- a/cells.py +++ b/cells.py @@ -295,9 +295,7 @@ class Game(): self.running = False # and this one is for the "ESC" key if event.type == pygame.KEYDOWN: - if event.key == pygame.K_ESCAPE: - self.running = False - elif self.cell_count == 2 and not self.new_game: + if self.cell_count == 2 and not self.new_game: self.new_game = True if self.new_game == True: -- cgit v0.9.1