Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/physics.py b/physics.py
index 026e440..3b0431e 100644
--- a/physics.py
+++ b/physics.py
@@ -66,13 +66,15 @@ class PhysicsGame:
# Clear Display
self.screen.fill((80,160,240)) #255 for white
- if self.world.run_physics:
- self.bridge.for_each_frame()
+
# Update & Draw World
self.world.update()
self.world.draw()
+ if self.world.run_physics:
+ self.bridge.for_each_frame()
+
# draw output from tools
self.currentTool.draw()