Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
authorGary Martin <gary@garycmartin.com>2010-10-06 12:51:53 (GMT)
committer Gary Martin <gary@garycmartin.com>2010-10-06 12:51:53 (GMT)
commit29df3f7413402b1c0312cd99f02044c118b887f5 (patch)
tree9863a0d00786bbefeb99260a7ee45a7029d0d72a /physics.py
parent5701331008c4a0173347df8d15a591f9bee56bd8 (diff)
Removed exit event check and extra exit pygame path code as it has no effect.
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/physics.py b/physics.py
index 5e64a68..f68bd31 100644
--- a/physics.py
+++ b/physics.py
@@ -78,8 +78,7 @@ class PhysicsGame:
self.show_fake_cursor = True
def run(self):
- self.running = True
- while self.running:
+ while True:
for event in pygame.event.get():
self.currentTool.handleEvents(event)