Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools.py
diff options
context:
space:
mode:
authornrp <olpc@spongezone.net>2008-08-31 15:50:21 (GMT)
committer nrp <olpc@spongezone.net>2008-08-31 15:50:21 (GMT)
commit286dd0faa2b81be0c23e96ac05c75d91f588dade (patch)
treefa3fb954d780e756d5d338d4d1427b0c80c8add9 /tools.py
parenta8cf0c8c524ecfbf69cde72f1f194bba41484dda (diff)
change time of creation of trains
Diffstat (limited to 'tools.py')
-rw-r--r--tools.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools.py b/tools.py
index a570867..1799ecd 100644
--- a/tools.py
+++ b/tools.py
@@ -25,6 +25,7 @@ class Tool(object):
elif event.type == KEYDOWN:
if event.key == K_SPACE:
#space pauses
+ self.game.bridge.create_train()
self.game.world.run_physics = not self.game.world.run_physics
elif event.key == K_t:
self.game.bridge.create_train()