Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools.py')
-rw-r--r--tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools.py b/tools.py
index 80b9a69..43cd950 100644
--- a/tools.py
+++ b/tools.py
@@ -29,7 +29,7 @@ class Tool(object):
def handleEvents(self,event):
handled = True
# default event handling
- if event.type == QUIT or (event.type == KEYDOWN and event.key == K_ESCAPE):
+ if event.type == QUIT:
# bye bye! Hope you had fun!
self.game.running = False
elif event.type == KEYDOWN: