Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--physics.py1
-rw-r--r--tools.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/physics.py b/physics.py
index f784e41..026e440 100644
--- a/physics.py
+++ b/physics.py
@@ -52,7 +52,6 @@ class PhysicsGame:
self.bridge = Bridge(self)
self.bridge.create_world()
- self.bridge.create_train()
def run(self):
self.running = True
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()