Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools.py
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2009-06-16 13:31:53 (GMT)
committer Gary Martin <gary@garycmartin.com>2009-06-16 13:31:53 (GMT)
commit697aee79cfe74e5b29a191321f631ced2aa49164 (patch)
tree91f4cedbe8da2cd4cbf2ff44a6fb27159d1e2e22 /tools.py
parentc8d957456a536566d25729e777451a41761d07b6 (diff)
Removed Esc key as binging for quit to prevent accidental loss of work.
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: