Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/cells.py
diff options
context:
space:
mode:
Diffstat (limited to 'cells.py')
-rwxr-xr-xcells.py4
1 files changed, 1 insertions, 3 deletions
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: