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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools.py b/tools.py
index 65eb9ff..a8b2082 100644
--- a/tools.py
+++ b/tools.py
@@ -321,9 +321,9 @@ class JointTool(Tool):
if self.jb1 and self.jb2 and str(self.jb1) != str(self.jb2):
self.game.world.add.joint(self.jb1[0],self.jb2[0],self.jb1pos,self.jb2pos)
#add joint to ground body
- elif self.jb1:
- groundBody = self.game.world.world.GetGroundBody()
- self.game.world.add.joint(self.jb1[0],groundBody,self.jb1pos,self.jb2pos)
+ #elif self.jb1:
+ # groundBody = self.game.world.world.GetGroundBody()
+ # self.game.world.add.joint(self.jb1[0],groundBody,self.jb1pos,self.jb2pos)
# regardless, clean everything up
self.jb1 = self.jb2 = self.jb1pos = self.jb2pos = None
def draw(self):