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.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools.py b/tools.py
index 7bb1d37..75a3440 100644
--- a/tools.py
+++ b/tools.py
@@ -43,10 +43,7 @@ class Tool(object):
def handleEvents(self, event):
handled = True
# Default event handling
- if event.type == QUIT:
- # Bye bye! Hope you had fun!
- self.game.running = False
- elif event.type == USEREVENT:
+ if event.type == USEREVENT:
if hasattr(event,"action"):
if event.action == "stop_start_toggle":
# Stop/start simulation