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 13f06c5..ff8bcd3 100644
--- a/tools.py
+++ b/tools.py
@@ -20,7 +20,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: